diff options
author | Stefano Karapetsas <[email protected]> | 2013-10-05 22:59:01 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2013-12-17 22:58:28 +0100 |
commit | 8aaf030b5a40af8520cef1d11097948c563cef11 (patch) | |
tree | 5131d4e4a946970cd1cd0f2adb97565a8d86f5cb /font-viewer | |
parent | 68e0d55c0712c06849248e43467d52aea93e7ea4 (diff) | |
download | mate-control-center-8aaf030b5a40af8520cef1d11097948c563cef11.tar.bz2 mate-control-center-8aaf030b5a40af8520cef1d11097948c563cef11.tar.xz |
Fix some deprecations and remove some unused vars
Diffstat (limited to 'font-viewer')
-rw-r--r-- | font-viewer/font-thumbnailer.c | 4 |
1 files changed, 4 insertions, 0 deletions
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); |