ui/gtk/toolkit.c

changeset 2
ea89bbb0c4c8
parent 0
804d8803eade
equal deleted inserted replaced
1:fcacc15a2ef2 2:ea89bbb0c4c8
61 static UiObject *active_window; 61 static UiObject *active_window;
62 62
63 static int scale_factor = 1; 63 static int scale_factor = 1;
64 64
65 void ui_init(char *appname, int argc, char **argv) { 65 void ui_init(char *appname, int argc, char **argv) {
66 uic_init_global_context();
67
66 gtk_init(&argc, &argv); 68 gtk_init(&argc, &argv);
67 application_name = appname; 69 application_name = appname;
68 70
69 uic_docmgr_init(); 71 uic_docmgr_init();
70 ui_toolbar_init(); 72 ui_toolbar_init();

mercurial