WIP: cleaning ...

This commit is contained in:
Jean Sirmai 2024-05-24 18:40:01 +02:00
parent 993ce2fc73
commit c849e61e11
Signed by: jean
GPG Key ID: FB3115C340E057E3
2 changed files with 9 additions and 12 deletions

View File

@ -28,6 +28,8 @@
#include "../include/base.h"
#define COMMUTE 0
#define W 1920
#define H 960
#define W_IMAGE W - 320

View File

@ -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
}
}