summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-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,