[gdm/wip/3v1n0/more-launch-environments] launch-environment: Export library and gio paths



commit b6c22a27c58b7fd993d9665c805a02ca9b99faf3
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date:   Mon May 7 17:21:07 2018 +0100

    launch-environment: Export library and gio paths
    
    If launching gdm from special environments (as jhbuild) these should
    be forwarded to the children greeter and launched apps too.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=795886

 daemon/gdm-launch-environment.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/daemon/gdm-launch-environment.c b/daemon/gdm-launch-environment.c
index 8f6ec0b..897ddf4 100644
--- a/daemon/gdm-launch-environment.c
+++ b/daemon/gdm-launch-environment.c
@@ -122,6 +122,7 @@ build_launch_environment (GdmLaunchEnvironment *launch_environment,
         GHashTable    *hash;
         struct passwd *pwent;
         static const char *const optional_environment[] = {
+                "GI_TYPELIB_PATH",
                 "LANG",
                 "LANGUAGE",
                 "LC_ADDRESS",
@@ -137,6 +138,7 @@ build_launch_environment (GdmLaunchEnvironment *launch_environment,
                 "LC_PAPER",
                 "LC_TELEPHONE",
                 "LC_TIME",
+                "LD_LIBRARY_PATH",
                 "PATH",
                 "WINDOWPATH",
                 "XCURSOR_PATH",


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]