summaryrefslogtreecommitdiff
path: root/capplets/appearance/appearance-main.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-10-05 22:59:01 +0200
committerinfirit <[email protected]>2013-12-17 22:58:28 +0100
commit8aaf030b5a40af8520cef1d11097948c563cef11 (patch)
tree5131d4e4a946970cd1cd0f2adb97565a8d86f5cb /capplets/appearance/appearance-main.c
parent68e0d55c0712c06849248e43467d52aea93e7ea4 (diff)
downloadmate-control-center-8aaf030b5a40af8520cef1d11097948c563cef11.tar.bz2
mate-control-center-8aaf030b5a40af8520cef1d11097948c563cef11.tar.xz
Fix some deprecations and remove some unused vars
Diffstat (limited to 'capplets/appearance/appearance-main.c')
-rw-r--r--capplets/appearance/appearance-main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/capplets/appearance/appearance-main.c b/capplets/appearance/appearance-main.c
index 65e703ad..b16b76fe 100644
--- a/capplets/appearance/appearance-main.c
+++ b/capplets/appearance/appearance-main.c
@@ -38,7 +38,9 @@ init_appearance_data (int *argc, char ***argv, GOptionContext *context)
GtkBuilder *ui;
GError *err = NULL;
+#if !GLIB_CHECK_VERSION (2, 32, 0)
g_thread_init (NULL);
+#endif
gdk_threads_init ();
gdk_threads_enter ();
theme_thumbnail_factory_init (*argc, *argv);