[gdm] Revert "welcome: set XDG_SESSION_CLASS"
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm] Revert "welcome: set XDG_SESSION_CLASS"
- Date: Mon, 19 Mar 2012 16:39:17 +0000 (UTC)
commit a1b29f251b3aa0fd7b4900e21de8e783814aa4da
Author: Ray Strode <rstrode redhat com>
Date: Mon Mar 19 12:37:53 2012 -0400
Revert "welcome: set XDG_SESSION_CLASS"
This reverts commit 5aa5eada05e646ab21d17d2e879532ccc1b99b8f.
The environment doesn't get set until after the pam session
stack is run, so that's too late for systemd.
https://bugzilla.gnome.org/show_bug.cgi?id=670100
daemon/gdm-welcome-session.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/daemon/gdm-welcome-session.c b/daemon/gdm-welcome-session.c
index d0f88a2..01df365 100644
--- a/daemon/gdm-welcome-session.c
+++ b/daemon/gdm-welcome-session.c
@@ -270,10 +270,6 @@ build_welcome_environment (GdmWelcomeSession *welcome_session,
system_data_dirs));
g_free (system_data_dirs);
- g_hash_table_insert (hash,
- g_strdup ("XDG_SESSION_CLASS"),
- g_strdup ("greeter"));
-
if (welcome_session->priv->dbus_bus_address != NULL) {
g_hash_table_insert (hash,
g_strdup ("DBUS_SESSION_BUS_ADDRESS"),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]