summaryrefslogtreecommitdiff
path: root/daemon/gdm-x-session.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/gdm-x-session.c')
-rw-r--r--daemon/gdm-x-session.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/daemon/gdm-x-session.c b/daemon/gdm-x-session.c
index 3ac48616..b919e6e9 100644
--- a/daemon/gdm-x-session.c
+++ b/daemon/gdm-x-session.c
@@ -643,8 +643,6 @@ spawn_session (State *state,
g_subprocess_launcher_setenv (launcher, "WINDOWPATH", vt, TRUE);
}
- g_subprocess_launcher_unsetenv (launcher, "GNOME_SHELL_SESSION_MODE");
-
if (run_script) {
subprocess = g_subprocess_launcher_spawn (launcher,
&error,