]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gdk-2.0: Fix gdk_spawn_on_screen* bindings
authorEvan Nemerson <evan@coeus-group.com>
Fri, 13 Mar 2009 01:58:52 +0000 (18:58 -0700)
committerJürg Billeter <j@bitron.ch>
Sun, 29 Mar 2009 19:46:35 +0000 (21:46 +0200)
Fix various parameters in Gdk.spawn_on_screen() and
Gdk.spawn_on_screen_with_pipes(). Fixes bug 570350.

vapi/gdk-2.0.vapi
vapi/packages/gdk-2.0/gdk-2.0.metadata

index e374e30381edd1340c43e4129f727e8422934a17..3ca2e91c827322c3a46d7ef085a7ac9d5dc1fbfc 100644 (file)
@@ -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")]
index 604077ffe6d9480bbbd52905a1501bc014bb044a..b209356f72b88f36744e41411acfc30091fe8df0 100644 (file)
@@ -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"