From 9ac60e7ab5bfbc95e64e0017fdeda54d4dcaac19 Mon Sep 17 00:00:00 2001 From: infirit Date: Fri, 16 May 2014 22:31:51 +0200 Subject: Use pid in g_spawn_async like gnome-panel does, fixes warning --- mate-panel/libpanel-util/panel-launch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mate-panel/libpanel-util') 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); -- cgit v1.2.1