diff options
author | Björn Esser <[email protected]> | 2017-05-07 12:48:32 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-05-25 19:33:52 +0200 |
commit | 8f84934b86f04eebb9d7aebf32321925e1764958 (patch) | |
tree | 839bc2d9e76812810446d6eed5edafe8b7c89ea1 /mate-session/gsm-util.h | |
parent | 0495fb8fa8f584a4f294254e39cbdc5615defc87 (diff) | |
download | mate-session-manager-8f84934b86f04eebb9d7aebf32321925e1764958.tar.bz2 mate-session-manager-8f84934b86f04eebb9d7aebf32321925e1764958.tar.xz |
systemd user-session needs to be updated to get all user-defined
enviroment when the session starts.
If we get passed an environment variable, send it along to the
systemd --user session so things running in that context can pick
it up.
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.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mate-session/gsm-util.h b/mate-session/gsm-util.h index 112ce6f..2c406af 100644 --- a/mate-session/gsm-util.h +++ b/mate-session/gsm-util.h @@ -50,6 +50,10 @@ char * gsm_util_generate_startup_id (void); gboolean gsm_util_export_activation_environment (GError **error); +#ifdef HAVE_SYSTEMD +gboolean gsm_util_export_user_environment (GError **error); +#endif + void gsm_util_setenv (const char *variable, const char *value); |