diff options
author | Pablo Barciela <[email protected]> | 2019-03-09 15:26:57 +0100 |
---|---|---|
committer | lukefromdc <[email protected]> | 2019-04-10 21:53:31 +0000 |
commit | 203399fc4969ea512c96592ec6a22218015f4fbd (patch) | |
tree | 8917d69c9c64996daef288a47214d9d6f5e5d511 /src/caja-main.c | |
parent | e50549cf502f988ff214a2714a8cdd6fb6892244 (diff) | |
download | caja-203399fc4969ea512c96592ec6a22218015f4fbd.tar.bz2 caja-203399fc4969ea512c96592ec6a22218015f4fbd.tar.xz |
drop functions defined but not used
Diffstat (limited to 'src/caja-main.c')
-rw-r--r-- | src/caja-main.c | 14 |
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[]) { |