[gnome-session] main: Remove GNOME_DESKTOP_SESSION_ID envvar
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-session] main: Remove GNOME_DESKTOP_SESSION_ID envvar
- Date: Thu, 16 Nov 2017 14:35:48 +0000 (UTC)
commit 6bf47ad8c6f0a513c95a5043e38ad51cc0248943
Author: Bastien Nocera <hadess hadess net>
Date: Wed Nov 15 16:44:13 2017 +0100
main: Remove GNOME_DESKTOP_SESSION_ID envvar
It was re-added "for compatibility reasons" nearly 10 years ago in
commit b7c806503. There's really no need to keep this compatibility any
longer.
https://bugzilla.gnome.org/show_bug.cgi?id=790387
gnome-session/main.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/gnome-session/main.c b/gnome-session/main.c
index d1f138b..dab5444 100644
--- a/gnome-session/main.c
+++ b/gnome-session/main.c
@@ -408,11 +408,6 @@ main (int argc, char **argv)
g_free (ibus_path);
}
- /* Some third-party programs rely on GNOME_DESKTOP_SESSION_ID to
- * detect if GNOME is running. We keep this for compatibility reasons.
- */
- gsm_util_setenv ("GNOME_DESKTOP_SESSION_ID", "this-is-deprecated");
-
/* We want to use the GNOME menus which has the designed categories.
*/
gsm_util_setenv ("XDG_MENU_PREFIX", "gnome-");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]