From e8cbf00e56f9a54524acd8d342971fae009a6d9c Mon Sep 17 00:00:00 2001 From: infirit Date: Tue, 16 Dec 2014 13:05:42 +0100 Subject: [PATCH] Revert "Drop support for Glib <2.32" This reverts commit e9a0c53bdb5755d903e1f2ad90e47b8c373c3995. --- pluma/pluma.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pluma/pluma.c b/pluma/pluma.c index eb92d1d..9166a74 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");