Don't call g_threads_init with glib 2.31 and newer

This commit is contained in:
Sebastian Ramacher 2013-02-08 19:05:36 +01:00
parent c839e3fced
commit b0d5cdd7c0

2
main.c
View File

@ -21,7 +21,9 @@ main(int argc, char* argv[])
textdomain(GETTEXT_PACKAGE); textdomain(GETTEXT_PACKAGE);
/* init gtk */ /* init gtk */
#if !GLIB_CHECK_VERSION(2, 31, 0)
g_thread_init(NULL); g_thread_init(NULL);
#endif
gdk_threads_init(); gdk_threads_init();
gtk_init(&argc, &argv); gtk_init(&argc, &argv);