summaryrefslogtreecommitdiff
path: root/shell/ev-daemon.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-12-16 12:17:49 +0100
committerinfirit <[email protected]>2014-12-16 12:17:49 +0100
commit7a72f6eb6a4cfcf636760c6a6efb24ab2fb278c9 (patch)
tree5ae6d9ef2e7327d8e4ccfd91793629e969f1c868 /shell/ev-daemon.c
parent1ec64aab9b6eb86e002b9e5bc8883e08c6159035 (diff)
downloadatril-7a72f6eb6a4cfcf636760c6a6efb24ab2fb278c9.tar.bz2
atril-7a72f6eb6a4cfcf636760c6a6efb24ab2fb278c9.tar.xz
Add back Glib 2.32 support
Diffstat (limited to 'shell/ev-daemon.c')
-rw-r--r--shell/ev-daemon.c5
1 files changed, 5 insertions, 0 deletions
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,