[glib-networking] Fake being in GNOME to run GNOME proxy settings test



commit 92a81f6826557c14e705f6818f2135fca36e349c
Author: Robert Ancell <robert ancell canonical com>
Date:   Fri Dec 21 15:18:28 2012 +1300

    Fake being in GNOME to run GNOME proxy settings test

 proxy/tests/gnome.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/proxy/tests/gnome.c b/proxy/tests/gnome.c
index f57959f..431c449 100644
--- a/proxy/tests/gnome.c
+++ b/proxy/tests/gnome.c
@@ -149,6 +149,7 @@ main (int   argc,
   g_setenv ("GIO_EXTRA_MODULES", TOP_BUILDDIR "/proxy/gnome/.libs", TRUE);
   g_setenv ("GIO_USE_PROXY_RESOLVER", "gnome", TRUE);
   g_setenv ("GSETTINGS_BACKEND", "memory", TRUE);
+  g_setenv ("DESKTOP_SESSION", "gnome", TRUE);
 
   g_test_add_func ("/proxy/gnome/ignore", test_proxy_ignore);
 



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