diff src/main.c @ 1015:2cdcf67e9300

run image loader in separate thread this feature is disabled by default for now, it must be enabled by configure --enable-threads
author nadvornik
date Sat, 30 Aug 2008 20:15:47 +0000
parents 4fe8f9656107
children a8b874774b83
line wrap: on
line diff
--- a/src/main.c	Sat Aug 30 13:04:06 2008 +0000
+++ b/src/main.c	Sat Aug 30 20:15:47 2008 +0000
@@ -669,6 +669,10 @@
 	gchar *bufl;
 	CollectionData *cd = NULL;
 
+#ifdef HAVE_GTHREAD
+	g_thread_init (NULL);
+#endif
+	
 	/* init execution time counter (debug only) */
 	init_exec_time();