summaryrefslogtreecommitdiff
path: root/capplets/appearance
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-10-05 22:59:01 +0200
committerStefano Karapetsas <[email protected]>2013-10-05 22:59:01 +0200
commit46bb12414bfc1d3ea881d4eae7be0b44ed418b54 (patch)
treec8e201ba037fa043efbade80fb98670b76cbce1f /capplets/appearance
parent9f1904eeddfa21a9221d4fa00dd389aa50431ed1 (diff)
downloadmate-control-center-46bb12414bfc1d3ea881d4eae7be0b44ed418b54.tar.bz2
mate-control-center-46bb12414bfc1d3ea881d4eae7be0b44ed418b54.tar.xz
Fix some deprecations and remove some unused vars
Diffstat (limited to 'capplets/appearance')
-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);