aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel.c')
-rw-r--r--camel/camel.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/camel/camel.c b/camel/camel.c
index 706041879f..06e0b34f0c 100644
--- a/camel/camel.c
+++ b/camel/camel.c
@@ -20,11 +20,18 @@
* USA
*/
+#include <config.h>
#include "camel.h"
gint
camel_init()
{
- return data_wrapper_repository_init ();
+#ifdef G_THREADS_ENABLED
+ g_thread_init (NULL);
+#else /* G_THREADS_ENABLED */
+ printf ("Threads are not supported by glib\n");
+#endif /* G_THREADS_ENABLED */
+
+ //return data_wrapper_repository_init ();
}