diff -r 6dd780cbc8c6 -r 69e8e0936858 ui/gtk/window.c --- a/ui/gtk/window.c Sun Jan 22 11:16:21 2017 +0100 +++ b/ui/gtk/window.c Sun Jan 22 11:48:50 2017 +0100 @@ -58,7 +58,7 @@ // TODO: free UiObject nwindows--; -#ifdef GTK2_LEGACY +#ifdef UI_GTK2 if(nwindows == 0) { gtk_main_quit(); } @@ -69,7 +69,7 @@ UcxMempool *mp = ucx_mempool_new(256); UiObject *obj = ucx_mempool_calloc(mp, 1, sizeof(UiObject)); -#ifndef GTK2_LEGACY +#ifndef UI_GTK2 obj->widget = gtk_application_window_new(ui_get_application()); #else obj->widget = gtk_window_new(GTK_WINDOW_TOPLEVEL);