[vala] gdk-2.0: Fix gdk_spawn_on_screen* bindings
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Subject: [vala] gdk-2.0: Fix gdk_spawn_on_screen* bindings
- Date: Sun, 29 Mar 2009 15:47:29 -0400 (EDT)
commit cf51c61e13071780270f05980ecf2bdebcc80729
Author: Evan Nemerson <evan coeus-group com>
Date: Thu Mar 12 18:58:52 2009 -0700
gdk-2.0: Fix gdk_spawn_on_screen* bindings
Fix various parameters in Gdk.spawn_on_screen() and
Gdk.spawn_on_screen_with_pipes(). Fixes bug 570350.
---
vapi/gdk-2.0.vapi | 4 ++--
vapi/packages/gdk-2.0/gdk-2.0.metadata | 10 ++++++++++
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/vapi/gdk-2.0.vapi b/vapi/gdk-2.0.vapi
index e374e30..3ca2e91 100644
--- a/vapi/gdk-2.0.vapi
+++ b/vapi/gdk-2.0.vapi
@@ -1772,9 +1772,9 @@ namespace Gdk {
[CCode (cheader_filename = "gdk/gdk.h")]
public static bool spawn_command_line_on_screen (Gdk.Screen screen, string command_line) throws GLib.Error;
[CCode (cheader_filename = "gdk/gdk.h")]
- public static bool spawn_on_screen (Gdk.Screen screen, string? working_directory, [CCode (array_length = false)] string[] argv, [CCode (array_length = false)] string[]? envp, GLib.SpawnFlags flags, GLib.SpawnChildSetupFunc? child_setup, int child_pid) throws GLib.Error;
+ public static bool spawn_on_screen (Gdk.Screen screen, string? working_directory, [CCode (array_length = false)] string[] argv, [CCode (array_length = false)] string[]? envp, GLib.SpawnFlags flags, GLib.SpawnChildSetupFunc? child_setup, out int child_pid) throws GLib.Error;
[CCode (cheader_filename = "gdk/gdk.h")]
- public static bool spawn_on_screen_with_pipes (Gdk.Screen screen, string working_directory, string argv, string envp, GLib.SpawnFlags flags, GLib.SpawnChildSetupFunc child_setup, int child_pid, int standard_input, int standard_output, int standard_error) throws GLib.Error;
+ public static bool spawn_on_screen_with_pipes (Gdk.Screen screen, string? working_directory, [CCode (array_length = false)] string[] argv, [CCode (array_length = false)] string[] envp, GLib.SpawnFlags flags, GLib.SpawnChildSetupFunc? child_setup, out int child_pid, out int standard_input, out int standard_output, out int standard_error) throws GLib.Error;
[CCode (cheader_filename = "gdk/gdk.h")]
public static int string_to_compound_text (string str, Gdk.Atom encoding, int format, uchar[] ctext, int length);
[CCode (cheader_filename = "gdk/gdk.h")]
diff --git a/vapi/packages/gdk-2.0/gdk-2.0.metadata b/vapi/packages/gdk-2.0/gdk-2.0.metadata
index 604077f..b209356 100644
--- a/vapi/packages/gdk-2.0/gdk-2.0.metadata
+++ b/vapi/packages/gdk-2.0/gdk-2.0.metadata
@@ -73,6 +73,16 @@ gdk_spawn_on_screen.working_directory nullable="1"
gdk_spawn_on_screen.argv is_array="1" no_array_length="1"
gdk_spawn_on_screen.envp is_array="1" no_array_length="1" nullable="1"
gdk_spawn_on_screen.child_setup nullable="1"
+gdk_spawn_on_screen.child_pid is_out="1"
+gdk_spawn_on_screen_with_pipes.working_directory nullable="1"
+gdk_spawn_on_screen_with_pipes.argv is_array="1" no_array_length="1"
+gdk_spawn_on_screen_with_pipes.envp is_array="1" no_array_length="1"
+gdk_spawn_on_screen_with_pipes.child_setup nullable="1"
+gdk_spawn_on_screen_with_pipes.child_setup nullable="1"
+gdk_spawn_on_screen_with_pipes.child_pid is_out="1"
+gdk_spawn_on_screen_with_pipes.standard_input is_out="1"
+gdk_spawn_on_screen_with_pipes.standard_output is_out="1"
+gdk_spawn_on_screen_with_pipes.standard_error is_out="1"
gdk_threads_add_idle.data hidden="1"
GdkTimeCoord is_value_type="1"
GdkTrapezoid is_value_type="1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]