ui/gtk/toolkit.c

changeset 1146
35e098a663a7
parent 1129
a4affe75198c
equal deleted inserted replaced
1145:57cc5fc047f3 1146:35e098a663a7
60 60
61 static int scale_factor = 1; 61 static int scale_factor = 1;
62 62
63 static UiBool exit_on_shutdown; 63 static UiBool exit_on_shutdown;
64 64
65 // NOOP on most platforms, expect macos
66 void ui_set_main_thread_error_msg(const char *msg) {}
67
65 UIEXPORT void ui_init(const char *appname, int argc, char **argv) { 68 UIEXPORT void ui_init(const char *appname, int argc, char **argv) {
66 application_name = appname ? strdup(appname) : NULL; 69 application_name = appname ? strdup(appname) : NULL;
67 uic_init_global_context(); 70 uic_init_global_context();
68 71
69 #if GTK_MAJOR_VERSION >= 4 72 #if GTK_MAJOR_VERSION >= 4

mercurial