summaryrefslogtreecommitdiff
path: root/thumbnailer/gnome-thumbnailer-skeleton.c
diff options
context:
space:
mode:
Diffstat (limited to 'thumbnailer/gnome-thumbnailer-skeleton.c')
-rw-r--r--thumbnailer/gnome-thumbnailer-skeleton.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/thumbnailer/gnome-thumbnailer-skeleton.c b/thumbnailer/gnome-thumbnailer-skeleton.c
index 812b58441..10b8d73cb 100644
--- a/thumbnailer/gnome-thumbnailer-skeleton.c
+++ b/thumbnailer/gnome-thumbnailer-skeleton.c
@@ -231,7 +231,9 @@ int main (int argc, char **argv)
gsize length;
#endif
+#if !GLIB_CHECK_VERSION(2, 36, 0)
g_type_init ();
+#endif
/* Options parsing */
context = g_option_context_new (THUMBNAILER_USAGE);