[glib-networking] pacrunner: Unset XDG_CURRENT_DESKTOP



commit 1f3199592c2e11a197fe406b6c8f3d67076a5b8a
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Mon Feb 12 18:32:06 2018 -0600

    pacrunner: Unset XDG_CURRENT_DESKTOP
    
    This is precautionary. Should allow libproxy to do the right thing once
    we get rid of these older, less-favored environment variables.

 proxy/libproxy/glibpacrunner.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/proxy/libproxy/glibpacrunner.c b/proxy/libproxy/glibpacrunner.c
index 4daa5ff..c72304f 100644
--- a/proxy/libproxy/glibpacrunner.c
+++ b/proxy/libproxy/glibpacrunner.c
@@ -140,6 +140,10 @@ main (int argc, char *argv[])
   g_unsetenv ("DESKTOP_SESSION");
   g_unsetenv ("KDE_FULL_SESSION");
 
+  /* Unset variables that libproxy would look at if it were smarter, and which
+   * it might possibly look at in the future. Just covering our bases. */
+  g_unsetenv ("XDG_CURRENT_DESKTOP");
+
   /* Unset static proxy settings */
   g_unsetenv ("http_proxy");
   g_unsetenv ("HTTP_PROXY");


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