From 5ee2c81ca6d335b18d51dbc6f1036c5f08396220 Mon Sep 17 00:00:00 2001 From: infirit Date: Tue, 16 Dec 2014 12:06:17 +0100 Subject: Add back support for Glib 2.32 --- font-viewer/font-thumbnailer.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'font-viewer/font-thumbnailer.c') diff --git a/font-viewer/font-thumbnailer.c b/font-viewer/font-thumbnailer.c index 921d2679..9b9c833a 100644 --- a/font-viewer/font-thumbnailer.c +++ b/font-viewer/font-thumbnailer.c @@ -256,6 +256,10 @@ main(int argc, char **argv) setlocale (LC_ALL, ""); +#if !GLIB_CHECK_VERSION (2, 36, 0) + g_type_init (); +#endif + context = g_option_context_new (NULL); g_option_context_add_main_entries (context, options, GETTEXT_PACKAGE); -- cgit v1.2.1