[gnome-builder] runtime: don't propagate environment by default



commit 7ca5e7c6c6e3dadce64ad96975d55263b49a1567
Author: Christian Hergert <chergert redhat com>
Date:   Wed Sep 14 00:39:40 2016 -0700

    runtime: don't propagate environment by default
    
    We don't want to always pass our environment along, so we can drop
    this here.

 libide/runtimes/ide-runtime.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/libide/runtimes/ide-runtime.c b/libide/runtimes/ide-runtime.c
index 19a9136..2634bed 100644
--- a/libide/runtimes/ide-runtime.c
+++ b/libide/runtimes/ide-runtime.c
@@ -99,14 +99,11 @@ ide_runtime_real_create_launcher (IdeRuntime  *self,
                                   GError     **error)
 {
   IdeSubprocessLauncher *ret;
-  g_auto(GStrv) env = NULL;
 
   g_assert (IDE_IS_RUNTIME (self));
 
-  env = g_get_environ ();
 
   ret = ide_subprocess_launcher_new (G_SUBPROCESS_FLAGS_STDOUT_PIPE | G_SUBPROCESS_FLAGS_STDERR_PIPE);
-  ide_subprocess_launcher_set_environ (ret, (const gchar * const *)env);
 
   return ret;
 }


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