summaryrefslogtreecommitdiff
path: root/mate-session/gsm-util.h
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/gsm-util.h
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/gsm-util.h')
-rw-r--r--mate-session/gsm-util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/mate-session/gsm-util.h b/mate-session/gsm-util.h
index efc980c..112ce6f 100644
--- a/mate-session/gsm-util.h
+++ b/mate-session/gsm-util.h
@@ -48,6 +48,8 @@ void gsm_util_init_error (gboolean fatal,
char * gsm_util_generate_startup_id (void);
+gboolean gsm_util_export_activation_environment (GError **error);
+
void gsm_util_setenv (const char *variable,
const char *value);