summaryrefslogtreecommitdiff
blob: 67ad54fe7ef6dfdbeb6a9d8a34335cb3e2216c9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
diff --git a/exo-helper/exo-helper.c b/exo-helper/exo-helper.c
index ce5ef9e..7b4b9c2 100644
--- a/exo-helper/exo-helper.c
+++ b/exo-helper/exo-helper.c
@@ -406,7 +406,7 @@ exo_helper_execute (ExoHelper   *helper,
       envp = g_environ_setenv (envp, "DISPLAY", display, TRUE);
 
       /* try to run the command */
-      succeed = g_spawn_async (NULL, argv, envp, G_SPAWN_DO_NOT_REAP_CHILD | G_SPAWN_SEARCH_PATH, NULL, NULL, &pid, &err);
+      succeed = g_spawn_async (NULL, argv, NULL, G_SPAWN_DO_NOT_REAP_CHILD | G_SPAWN_SEARCH_PATH, NULL, NULL, &pid, &err);
 
       /* cleanup */
       g_strfreev (argv);
diff --git a/exo/exo-execute.c b/exo/exo-execute.c
index 1fabf57..f6016cf 100644
--- a/exo/exo-execute.c
+++ b/exo/exo-execute.c
@@ -150,7 +150,7 @@ exo_execute_preferred_application_on_screen (const gchar *category,
   envp = g_environ_setenv (envp, "DISPLAY", display, TRUE);
 
   /* launch the command */
-  success = g_spawn_async (working_directory, argv, envp, 0, NULL, NULL, NULL, error);
+  success = g_spawn_async (working_directory, argv, NULL, 0, NULL, NULL, NULL, error);
 
   g_free (display);
   g_strfreev (envp);