ui/gtk/window.c

branch
newapi
changeset 311
450a813dc2a5
parent 306
d02e1149cdb9
child 314
d96ba820083a
equal deleted inserted replaced
310:4918f9132552 311:450a813dc2a5
84 84
85 85
86 obj->ctx = uic_context(obj, mp); 86 obj->ctx = uic_context(obj, mp);
87 obj->window = window_data; 87 obj->window = window_data;
88 88
89 #if GTK_CHECK_VERSION(4, 0, 0)
90 obj->ctx->action_map = G_ACTION_MAP(obj->widget);
91 #endif
92
89 if(title != NULL) { 93 if(title != NULL) {
90 gtk_window_set_title(GTK_WINDOW(obj->widget), title); 94 gtk_window_set_title(GTK_WINDOW(obj->widget), title);
91 } 95 }
92 96
93 char *width = ui_get_property("ui.window.width"); 97 char *width = ui_get_property("ui.window.width");

mercurial