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