Use a GPid on gdk_spawn_on_screen[_with_pipes] instead a gint

Reported by Nick Schermer in bug
https://bugzilla.gnome.org/show_bug.cgi?id=602289
This commit is contained in:
Javier Jardón 2010-06-06 15:40:46 +02:00
parent 785027751a
commit 71c501d895
4 changed files with 12 additions and 12 deletions

View File

@ -35,7 +35,7 @@ gdk_spawn_on_screen (GdkScreen *screen,
GSpawnFlags flags,
GSpawnChildSetupFunc child_setup,
gpointer user_data,
gint *child_pid,
GPid *child_pid,
GError **error)
{
g_return_val_if_fail (GDK_IS_SCREEN (screen), FALSE);
@ -58,7 +58,7 @@ gdk_spawn_on_screen_with_pipes (GdkScreen *screen,
GSpawnFlags flags,
GSpawnChildSetupFunc child_setup,
gpointer user_data,
gint *child_pid,
GPid *child_pid,
gint *standard_input,
gint *standard_output,
gint *standard_error,

View File

@ -34,7 +34,7 @@ gdk_spawn_on_screen (GdkScreen *screen,
GSpawnFlags flags,
GSpawnChildSetupFunc child_setup,
gpointer user_data,
gint *child_pid,
GPid *child_pid,
GError **error)
{
g_return_val_if_fail (GDK_IS_SCREEN (screen), FALSE);
@ -46,7 +46,7 @@ gdk_spawn_on_screen (GdkScreen *screen,
flags,
child_setup,
user_data,
(GPid*)child_pid,
child_pid,
error);
}
@ -58,7 +58,7 @@ gdk_spawn_on_screen_with_pipes (GdkScreen *screen,
GSpawnFlags flags,
GSpawnChildSetupFunc child_setup,
gpointer user_data,
gint *child_pid,
GPid *child_pid,
gint *standard_input,
gint *standard_output,
gint *standard_error,
@ -73,7 +73,7 @@ gdk_spawn_on_screen_with_pipes (GdkScreen *screen,
flags,
child_setup,
user_data,
(GPid*)child_pid,
child_pid,
standard_input,
standard_output,
standard_error,

View File

@ -34,7 +34,7 @@ gdk_spawn_on_screen (GdkScreen *screen,
GSpawnFlags flags,
GSpawnChildSetupFunc child_setup,
gpointer user_data,
gint *child_pid,
GPid *child_pid,
GError **error)
{
g_return_val_if_fail (GDK_IS_SCREEN (screen), FALSE);
@ -46,7 +46,7 @@ gdk_spawn_on_screen (GdkScreen *screen,
flags,
child_setup,
user_data,
(GPid*)child_pid,
child_pid,
error);
}
@ -58,7 +58,7 @@ gdk_spawn_on_screen_with_pipes (GdkScreen *screen,
GSpawnFlags flags,
GSpawnChildSetupFunc child_setup,
gpointer user_data,
gint *child_pid,
GPid *child_pid,
gint *standard_input,
gint *standard_output,
gint *standard_error,
@ -73,7 +73,7 @@ gdk_spawn_on_screen_with_pipes (GdkScreen *screen,
flags,
child_setup,
user_data,
(GPid*)child_pid,
child_pid,
standard_input,
standard_output,
standard_error,

View File

@ -83,7 +83,7 @@ gdk_spawn_on_screen (GdkScreen *screen,
GSpawnFlags flags,
GSpawnChildSetupFunc child_setup,
gpointer user_data,
gint *child_pid,
GPid *child_pid,
GError **error)
{
UserChildSetup setup_data;
@ -143,7 +143,7 @@ gdk_spawn_on_screen_with_pipes (GdkScreen *screen,
GSpawnFlags flags,
GSpawnChildSetupFunc child_setup,
gpointer user_data,
gint *child_pid,
GPid *child_pid,
gint *standard_input,
gint *standard_output,
gint *standard_error,