This potentially fixes most deprecated warnings
[geeqie.git] / src / main.c
index c56ab57..d5ba24f 100644 (file)
@@ -737,7 +737,9 @@ gint main(gint argc, gchar *argv[])
        CollectionData *cd = NULL;
 
 #ifdef HAVE_GTHREAD
+#if !GTK_CHECK_VERSION(2,32,0)
        g_thread_init(NULL);
+#endif
        gdk_threads_init();
        gdk_threads_enter();