From 7a72f6eb6a4cfcf636760c6a6efb24ab2fb278c9 Mon Sep 17 00:00:00 2001 From: infirit Date: Tue, 16 Dec 2014 12:17:49 +0100 Subject: Add back Glib 2.32 support --- shell/ev-daemon.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'shell') diff --git a/shell/ev-daemon.c b/shell/ev-daemon.c index c242e550..9f41df5d 100644 --- a/shell/ev-daemon.c +++ b/shell/ev-daemon.c @@ -521,6 +521,11 @@ main (gint argc, gchar **argv) g_set_prgname ("atril-daemon"); +#if !GLIB_CHECK_VERSION (2, 36, 0) + g_type_init (); +#endif + + loop = g_main_loop_new (NULL, FALSE); pending_invocations = g_hash_table_new_full (g_str_hash, -- cgit v1.2.1