summaryrefslogtreecommitdiff
path: root/thumbnailer/atril-thumbnailer.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 /thumbnailer/atril-thumbnailer.c
parent1ec64aab9b6eb86e002b9e5bc8883e08c6159035 (diff)
downloadatril-7a72f6eb6a4cfcf636760c6a6efb24ab2fb278c9.tar.bz2
atril-7a72f6eb6a4cfcf636760c6a6efb24ab2fb278c9.tar.xz
Add back Glib 2.32 support
Diffstat (limited to 'thumbnailer/atril-thumbnailer.c')
-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;