ui/motif/toolkit.c

changeset 1146
35e098a663a7
parent 1075
be89ffebd4f3
child 1152
f560b35c8ca1
equal deleted inserted replaced
1145:57cc5fc047f3 1146:35e098a663a7
87 87
88 void ui_motif_set_fallback_resources(String *fallbackres) { 88 void ui_motif_set_fallback_resources(String *fallbackres) {
89 fallback_resources = fallbackres; 89 fallback_resources = fallbackres;
90 } 90 }
91 91
92 // NOOP on most platforms, expect macos
93 void ui_set_main_thread_error_msg(const char *msg) {}
94
92 void ui_init(const char *appname, int argc, char **argv) { 95 void ui_init(const char *appname, int argc, char **argv) {
93 application_name = appname ? strdup(appname) : NULL; 96 application_name = appname ? strdup(appname) : NULL;
94 uic_init_global_context(); 97 uic_init_global_context();
95 98
96 XtToolkitInitialize(); 99 XtToolkitInitialize();

mercurial