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