summaryrefslogtreecommitdiff
path: root/giscanner
diff options
context:
space:
mode:
Diffstat (limited to 'giscanner')
-rw-r--r--giscanner/dumper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/dumper.py b/giscanner/dumper.py
index 0ca8272d..b11768c4 100644
--- a/giscanner/dumper.py
+++ b/giscanner/dumper.py
@@ -46,8 +46,8 @@ main(int argc, char **argv)
GOptionContext *context;
GError *error = NULL;
+ if (!g_thread_supported ()) g_thread_init (NULL);
g_type_init ();
- g_thread_init (NULL);
context = g_option_context_new ("");
g_option_context_add_main_entries (context, entries, "girepository-1.0");