summaryrefslogtreecommitdiff
path: root/src/caja-main.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-10-21 12:06:19 +0200
committerStefano Karapetsas <[email protected]>2014-10-21 12:06:19 +0200
commite5f731375d73fe2106304310e84bd68dc8da12fa (patch)
treefbcc07ee0f96a40dde5496a9fa33bbbda2233079 /src/caja-main.c
parent0ecd4559229017cffa3f4986f5c33cb5ac49ed57 (diff)
downloadcaja-e5f731375d73fe2106304310e84bd68dc8da12fa.tar.bz2
caja-e5f731375d73fe2106304310e84bd68dc8da12fa.tar.xz
Fix g_desktop_app_info_set_desktop_env deprecation
Diffstat (limited to 'src/caja-main.c')
-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 3227b5d4..7eee311a 100644
--- a/src/caja-main.c
+++ b/src/caja-main.c
@@ -393,8 +393,10 @@ main (int argc, char *argv[])
g_thread_init (NULL);
#endif
+#if !GLIB_CHECK_VERSION (2, 42, 0)
/* This will be done by gtk+ later, but for now, force it to MATE */
g_desktop_app_info_set_desktop_env ("MATE");
+#endif
if (g_getenv ("CAJA_DEBUG") != NULL)
{