[Xfce4-commits] <libxfce4ui:master> xfce_spawn_startup_watch: do not mess with the marshaller the user set up.

Danny Milosavljevic noreply at xfce.org
Fri Jan 14 21:00:01 CET 2011


Updating branch refs/heads/master
         to 788ac47081c892a46cc753b2e97fb3966318a9bd (commit)
       from 406dcf32d4fdecdb76d31539aef655c11239038b (commit)

commit 788ac47081c892a46cc753b2e97fb3966318a9bd
Author: Danny Milosavljevic <dannym at xfce.org>
Date:   Fri Jan 14 20:53:13 2011 +0100

    xfce_spawn_startup_watch: do not mess with the marshaller the user set up.

 libxfce4ui/xfce-spawn.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libxfce4ui/xfce-spawn.c b/libxfce4ui/xfce-spawn.c
index 731ffb2..3b4e108 100644
--- a/libxfce4ui/xfce-spawn.c
+++ b/libxfce4ui/xfce-spawn.c
@@ -154,7 +154,7 @@ xfce_spawn_startup_watch (GPid     pid,
       g_value_init (&instance_and_params[1], G_TYPE_INT);
       g_value_set_int (&instance_and_params[1], status);
 
-      g_closure_set_marshal (spawn_data->closure, g_cclosure_marshal_VOID__INT);
+      /*the caller, not us, needs to do: g_closure_set_marshal (spawn_data->closure, g_cclosure_marshal_VOID__INT);*/
 
       g_closure_invoke (spawn_data->closure, NULL,
                         2, instance_and_params, NULL);
@@ -245,7 +245,7 @@ xfce_spawn_get_active_workspace_number (GdkScreen *screen)
 
 
 /**
- * xfce_spawn_on_screen_with_closure:
+ * xfce_spawn_on_screen_with_child_watch:
  * @screen              : a #GdkScreen or %NULL to use the active screen,
  *                        see xfce_gdk_screen_get_active().
  * @working_directory   : child's current working directory or %NULL to



More information about the Xfce4-commits mailing list