WIP: cleaning ...
This commit is contained in:
parent
993ce2fc73
commit
c849e61e11
|
@ -28,6 +28,8 @@
|
||||||
|
|
||||||
#include "../include/base.h"
|
#include "../include/base.h"
|
||||||
|
|
||||||
|
#define COMMUTE 0
|
||||||
|
|
||||||
#define W 1920
|
#define W 1920
|
||||||
#define H 960
|
#define H 960
|
||||||
#define W_IMAGE W - 320
|
#define W_IMAGE W - 320
|
||||||
|
|
|
@ -61,9 +61,7 @@ void ui_disable_action(const char *name) {
|
||||||
*/
|
*/
|
||||||
static void gem_graph_client_application_activate(GApplication *app)
|
static void gem_graph_client_application_activate(GApplication *app)
|
||||||
{
|
{
|
||||||
int commute_XML_ui_based_window = 1;
|
if (COMMUTE) {
|
||||||
|
|
||||||
if (commute_XML_ui_based_window) {
|
|
||||||
|
|
||||||
GtkWindow *window;
|
GtkWindow *window;
|
||||||
|
|
||||||
|
@ -85,10 +83,7 @@ static void gem_graph_client_application_activate(GApplication *app)
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
char *user_data = NULL;
|
char *user_data = NULL;
|
||||||
experimental_activate (app, user_data);
|
experimental_activate (app, user_data); // see > contain.c
|
||||||
// in experimental_activate () are :
|
|
||||||
// window = GTK_WINDOW (gtk_application_window_new (GTK_APPLICATION (app))); and
|
|
||||||
// gtk_window_present(window);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue