]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
libgnome-2.0: Fix gnome_execute_* bindings.
authorEvan Nemerson <evan@coeus-group.com>
Sun, 1 Nov 2009 03:03:37 +0000 (20:03 -0700)
committerEvan Nemerson <evan@coeus-group.com>
Sat, 7 Nov 2009 19:34:07 +0000 (11:34 -0800)
Fixes bug 599346.

vapi/libgnome-2.0.vapi
vapi/packages/libgnome-2.0/libgnome-2.0.metadata

index b2fd183792b8ddc636a3e25c3f5ecd74927beea9..2c7a7abc2e83fb0ad0cf92866b109fce932dc0ee 100644 (file)
@@ -173,13 +173,13 @@ namespace Gnome {
        [CCode (cheader_filename = "libgnome/libgnome.h")]
        public static void clearenv ();
        [CCode (cheader_filename = "libgnome/libgnome.h")]
-       public static int execute_async (string dir, int argc, string[] argv);
+       public static int execute_async (string dir, [CCode (array_length_pos = 1.9)] string[] argv);
        [CCode (cheader_filename = "libgnome/libgnome.h")]
-       public static int execute_async_fds (string dir, int argc, string[] argv, bool close_fds);
+       public static int execute_async_fds (string dir, [CCode (array_length_pos = 1.9)] string[] argv, bool close_fds);
        [CCode (cheader_filename = "libgnome/libgnome.h")]
-       public static int execute_async_with_env (string dir, int argc, string[] argv, int envc, string[] envv);
+       public static int execute_async_with_env (string dir, [CCode (array_length_pos = 1.9)] string[] argv, string[] envv);
        [CCode (cheader_filename = "libgnome/libgnome.h")]
-       public static int execute_async_with_env_fds (string dir, int argc, string[] argv, int envc, string[] envv, bool close_fds);
+       public static int execute_async_with_env_fds (string dir, [CCode (array_length_pos = 1.9)] string[] argv, [CCode (array_length_pos = 2.9)] string[] envv, bool close_fds);
        [CCode (cheader_filename = "libgnome/libgnome.h")]
        public static int execute_shell (string dir, string commandline);
        [CCode (cheader_filename = "libgnome/libgnome.h")]
index 13c25b709016fbf78883f3b2b4853ceed09c34b6..8916cb591c314871990587a941abe87a6954b07b 100644 (file)
@@ -1,5 +1,17 @@
 Gnome cheader_filename="libgnome/libgnome.h"
 GnomeModuleInfo.options hidden="1"
+gnome_execute_async.argc hidden="1"
+gnome_execute_async.argv array_length_pos="1.9"
+gnome_execute_async_fds.argc hidden="1"
+gnome_execute_async_fds.argv array_length_pos="1.9"
+gnome_execute_async_with_env.argc hidden="1"
+gnome_execute_async_with_env.argv array_length_pos="1.9"
+gnome_execute_async_with_env.envc hidden="1"
+gnome_execute_async_with_env_fds.envv array_length_pos="2.9"
+gnome_execute_async_with_env_fds.argc hidden="1"
+gnome_execute_async_with_env_fds.argv array_length_pos="1.9"
+gnome_execute_async_with_env_fds.envc hidden="1"
+gnome_execute_async_with_env_fds.envv array_length_pos="2.9"
 gnome_program_init.argc hidden="1"
 gnome_program_init.argv is_array="1" array_length_pos="3.9"
 gnome_program_init_paramv.argc hidden="1"