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:33:52 +0200
commit0495fb8fa8f584a4f294254e39cbdc5615defc87 (patch)
tree86fddf181e5b557c8075afb7f86eaae627645fc1 /mate-session/main.c
parentda4fc8a9904b518e75b460adc50b8c5a1e45eca2 (diff)
downloadmate-session-manager-0495fb8fa8f584a4f294254e39cbdc5615defc87.tar.bz2
mate-session-manager-0495fb8fa8f584a4f294254e39cbdc5615defc87.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;
}
+