[gnome-settings-daemon/gnome-3-8] media-keys: Avoid leaking DESKTOP_AUTOSTART_ID to children
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon/gnome-3-8] media-keys: Avoid leaking DESKTOP_AUTOSTART_ID to children
- Date: Thu, 11 Apr 2013 16:26:05 +0000 (UTC)
commit ac080695184fd56c67a9ea75849eb66388be8bfb
Author: Bastien Nocera <hadess hadess net>
Date: Tue Apr 2 10:54:01 2013 +0200
media-keys: Avoid leaking DESKTOP_AUTOSTART_ID to children
https://bugzilla.gnome.org/show_bug.cgi?id=697052
plugins/media-keys/gsd-media-keys-manager.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/media-keys/gsd-media-keys-manager.c b/plugins/media-keys/gsd-media-keys-manager.c
index 1120b8d..f164c13 100644
--- a/plugins/media-keys/gsd-media-keys-manager.c
+++ b/plugins/media-keys/gsd-media-keys-manager.c
@@ -266,6 +266,7 @@ get_keyring_env (GsdMediaKeysManager *manager)
}
envp = g_get_environ ();
+ envp = g_environ_unsetenv (envp, "DESKTOP_AUTOSTART_ID");
g_variant_get (variant, "(a{ss})", &iter);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]