summaryrefslogtreecommitdiff
path: root/mate-session/main.c
diff options
context:
space:
mode:
authorBjörn Esser <[email protected]>2017-05-07 12:43:48 +0200
committerraveit65 <[email protected]>2017-05-25 19:36:39 +0200
commit7b1d2e7109caa4ae42a197fdc0450d5796bf3f47 (patch)
treefef0f90b93cc0ff4be9ac0cbbcd63046f744a3bc /mate-session/main.c
parentdee9b00521e3ea5bd5b3a62de714595346308fe9 (diff)
downloadmate-session-manager-7b1d2e7109caa4ae42a197fdc0450d5796bf3f47.tar.bz2
mate-session-manager-7b1d2e7109caa4ae42a197fdc0450d5796bf3f47.tar.xz
dbus needs to be updated to get all user-defined environment when
the session starts. dbus-update-activation-environment excepts certain environment variables, that systemd won't. We're going to want to eventually send the environment to systemd, too, so we should make sure the same set of variables get sent to both. See: https://bugzilla.gnome.org/show_bug.cgi?id=736660
Diffstat (limited to 'mate-session/main.c')
-rw-r--r--mate-session/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mate-session/main.c b/mate-session/main.c
index db55ebd..da931af 100644
--- a/mate-session/main.c
+++ b/mate-session/main.c
@@ -620,6 +620,8 @@ int main(int argc, char** argv)
exit(1);
}
+ gsm_util_export_activation_environment (NULL);
+
mdm_log_init();
/* Allows to enable/disable debug from GSettings only if it is not set from argument */
@@ -727,3 +729,4 @@ int main(int argc, char** argv)
return 0;
}
+