summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-05-16 22:31:51 +0200
committerinfirit <[email protected]>2014-05-16 22:53:09 +0200
commit9ac60e7ab5bfbc95e64e0017fdeda54d4dcaac19 (patch)
tree523c804e7ae55c6d14e975abd7c9377cf8e77e88
parent497b849a069dd5e64d08a1093ee4ceeb73ae1534 (diff)
downloadmate-panel-9ac60e7ab5bfbc95e64e0017fdeda54d4dcaac19.tar.bz2
mate-panel-9ac60e7ab5bfbc95e64e0017fdeda54d4dcaac19.tar.xz
Use pid in g_spawn_async like gnome-panel does, fixes warning
-rw-r--r--mate-panel/libpanel-util/panel-launch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mate-panel/libpanel-util/panel-launch.c b/mate-panel/libpanel-util/panel-launch.c
index beed7c11..ce5d97c7 100644
--- a/mate-panel/libpanel-util/panel-launch.c
+++ b/mate-panel/libpanel-util/panel-launch.c
@@ -264,7 +264,7 @@ panel_launch_desktop_file_with_fallback (const char *desktop_file,
G_SPAWN_SEARCH_PATH,
set_environment,
&display,
- NULL,
+ &pid,
&local_error);
g_free (display);