From 46bb12414bfc1d3ea881d4eae7be0b44ed418b54 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Sat, 5 Oct 2013 22:59:01 +0200 Subject: Fix some deprecations and remove some unused vars --- font-viewer/font-thumbnailer.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'font-viewer') diff --git a/font-viewer/font-thumbnailer.c b/font-viewer/font-thumbnailer.c index 45928e63..24525f64 100644 --- a/font-viewer/font-thumbnailer.c +++ b/font-viewer/font-thumbnailer.c @@ -256,8 +256,12 @@ main(int argc, char **argv) setlocale (LC_ALL, ""); +#if !GLIB_CHECK_VERSION (2, 36, 0) g_type_init (); +#endif +#if !GLIB_CHECK_VERSION (2, 32, 0) g_thread_init (NULL); +#endif context = g_option_context_new (NULL); g_option_context_add_main_entries (context, options, GETTEXT_PACKAGE); -- cgit v1.2.1