summaryrefslogtreecommitdiff
path: root/thumbnailer
diff options
context:
space:
mode:
Diffstat (limited to 'thumbnailer')
-rw-r--r--thumbnailer/atril-thumbnailer.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/thumbnailer/atril-thumbnailer.c b/thumbnailer/atril-thumbnailer.c
index c3288595..ffc8e327 100644
--- a/thumbnailer/atril-thumbnailer.c
+++ b/thumbnailer/atril-thumbnailer.c
@@ -293,6 +293,10 @@ main (int argc, char *argv[])
input = file_arguments[0];
output = file_arguments[1];
+#if !GLIB_CHECK_VERSION (2, 36, 0)
+ g_type_init ();
+#endif
+
if (!ev_init ())
return -1;