summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-12-16 13:05:42 +0100
committerinfirit <[email protected]>2014-12-16 13:05:42 +0100
commite8cbf00e56f9a54524acd8d342971fae009a6d9c (patch)
tree48caf98179e465c01ebe16a17ea72ace0641b01b
parente9a0c53bdb5755d903e1f2ad90e47b8c373c3995 (diff)
downloadpluma-e8cbf00e56f9a54524acd8d342971fae009a6d9c.tar.bz2
pluma-e8cbf00e56f9a54524acd8d342971fae009a6d9c.tar.xz
Revert "Drop support for Glib <2.32"
This reverts commit e9a0c53bdb5755d903e1f2ad90e47b8c373c3995.
-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");