summaryrefslogtreecommitdiff
path: root/src/caja-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/caja-main.c')
-rw-r--r--src/caja-main.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/caja-main.c b/src/caja-main.c
index 10914246..8d6c24dd 100644
--- a/src/caja-main.c
+++ b/src/caja-main.c
@@ -219,20 +219,6 @@ setup_debug_log (void)
setup_debug_log_glog ();
}
-static gboolean
-running_in_mate (void)
-{
- return (g_strcmp0 (g_getenv ("XDG_CURRENT_DESKTOP"), "MATE") == 0)
- || (g_strcmp0 (g_getenv ("XDG_SESSION_DESKTOP"), "mate") == 0)
- || (g_strcmp0 (g_getenv ("DESKTOP_SESSION"), "mate") == 0);
-}
-
-static gboolean
-running_as_root (void)
-{
- return geteuid () == 0;
-}
-
int
main (int argc, char *argv[])
{