[gnome-panel/gtk3] Fix user_data parameter when launch g_spawn_async



commit 757682e5c760274f959868fee57fa2b9e45be9dd
Author: Germán Póo-Caamaño <gpoo gnome org>
Date:   Fri Dec 31 01:42:55 2010 -0800

    Fix user_data parameter when launch g_spawn_async
    
    
    
    Signed-off-by: Germán Póo-Caamaño <gpoo gnome org>

 gnome-panel/libpanel-util/panel-launch.c |    2 +-
 gnome-panel/panel-run-dialog.c           |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnome-panel/libpanel-util/panel-launch.c b/gnome-panel/libpanel-util/panel-launch.c
index 58cf8ef..414b3d9 100644
--- a/gnome-panel/libpanel-util/panel-launch.c
+++ b/gnome-panel/libpanel-util/panel-launch.c
@@ -242,7 +242,7 @@ panel_launch_desktop_file_with_fallback (const char  *desktop_file,
 				NULL, /* envp */
 				G_SPAWN_SEARCH_PATH,
 				set_environment,
-				&display,
+				display,
 				NULL,
 				&local_error);
 
diff --git a/gnome-panel/panel-run-dialog.c b/gnome-panel/panel-run-dialog.c
index 5e66d01..4a825e3 100644
--- a/gnome-panel/panel-run-dialog.c
+++ b/gnome-panel/panel-run-dialog.c
@@ -392,7 +392,7 @@ panel_run_dialog_launch_command (PanelRunDialog *dialog,
 				NULL, /* envp */
 				G_SPAWN_SEARCH_PATH,
 				set_environment,
-				&display,
+				display,
 				NULL,
 				&error);
 



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