summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-11-13 16:40:45 +0100
committerStefano Karapetsas <[email protected]>2013-11-13 16:40:45 +0100
commitbf43c05a1c0a89f36f14192d3f5c504df01ae822 (patch)
treeed88537bc4c3971e7d456924c4f4c41293efed58 /src
parent8bf723259140dc1f0740f312b1b6f57de2329b7c (diff)
downloadcaja-bf43c05a1c0a89f36f14192d3f5c504df01ae822.tar.bz2
caja-bf43c05a1c0a89f36f14192d3f5c504df01ae822.tar.xz
Fix g_thread_init deprecation
Diffstat (limited to 'src')
-rw-r--r--src/caja-main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/caja-main.c b/src/caja-main.c
index dcd9df11..3227b5d4 100644
--- a/src/caja-main.c
+++ b/src/caja-main.c
@@ -389,7 +389,9 @@ main (int argc, char *argv[])
mallopt (M_MMAP_THRESHOLD, 128 *1024);
#endif
+#if !GLIB_CHECK_VERSION (2, 32, 0)
g_thread_init (NULL);
+#endif
/* This will be done by gtk+ later, but for now, force it to MATE */
g_desktop_app_info_set_desktop_env ("MATE");