summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pluma/pluma.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/pluma/pluma.c b/pluma/pluma.c
index eb92d1dc..9166a749 100644
--- a/pluma/pluma.c
+++ b/pluma/pluma.c
@@ -560,6 +560,11 @@ main (int argc, char *argv[])
g_type_init ();
#endif
+ /* Init glib threads asap */
+#if !GLIB_CHECK_VERSION (2, 32, 0)
+ g_thread_init (NULL);
+#endif
+
/* Setup debugging */
pluma_debug_init ();
pluma_debug_message (DEBUG_APP, "Startup");