forked from AuroraMiddleware/gtk
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:
parent
785027751a
commit
71c501d895
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user