diff --git a/main.c b/main.c index 0920adb..7284faa 100644 --- a/main.c +++ b/main.c @@ -21,7 +21,9 @@ main(int argc, char* argv[]) textdomain(GETTEXT_PACKAGE); /* init gtk */ +#if !GLIB_CHECK_VERSION(2, 31, 0) g_thread_init(NULL); +#endif gdk_threads_init(); gtk_init(&argc, &argv);