diff options
Diffstat (limited to 'src/libui_sdl/libui/unix/main.c')
-rw-r--r-- | src/libui_sdl/libui/unix/main.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libui_sdl/libui/unix/main.c b/src/libui_sdl/libui/unix/main.c index 2998bf3..e645234 100644 --- a/src/libui_sdl/libui/unix/main.c +++ b/src/libui_sdl/libui/unix/main.c @@ -3,6 +3,9 @@ uiInitOptions options; +// kind of a hack +GThread* gtkthread; + const char *uiInit(uiInitOptions *o) { GError *err = NULL; @@ -16,6 +19,9 @@ const char *uiInit(uiInitOptions *o) } initAlloc(); loadFutures(); + + gtkthread = g_thread_self(); + return NULL; } |