don't use g_thread_init() with GLib 2.32
Deprecated.
This commit is contained in:
@@ -119,7 +119,9 @@ int main(int argc, G_GNUC_UNUSED char **argv)
|
||||
return 1;
|
||||
}
|
||||
|
||||
#if !GLIB_CHECK_VERSION(2,32,0)
|
||||
g_thread_init(NULL);
|
||||
#endif
|
||||
|
||||
main_loop = new EventLoop(EventLoop::Default());
|
||||
|
||||
|
Reference in New Issue
Block a user