summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@xfce.org>2011-01-14 20:53:13 +0100
committerDanny Milosavljevic <dannym@xfce.org>2011-01-14 20:53:13 +0100
commit788ac47081c892a46cc753b2e97fb3966318a9bd (patch)
treed2d15d27b4adf842304d6e32efd97df3154da576
parent406dcf32d4fdecdb76d31539aef655c11239038b (diff)
downloadlibxfce4ui-788ac47081c892a46cc753b2e97fb3966318a9bd.tar.gz
xfce_spawn_startup_watch: do not mess with the marshaller the user set up.
-rw-r--r--libxfce4ui/xfce-spawn.c4
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