fixed using DEBUG_N from multiple threads
[geeqie.git] / src / main.c
index 7cad734..b74235d 100644 (file)
@@ -740,6 +740,8 @@ gint main(gint argc, gchar *argv[])
        g_thread_init(NULL);
        gdk_threads_init();
        gdk_threads_enter();
+       debug_mutex = g_mutex_new();
+
 #endif
        
        /* init execution time counter (debug only) */