]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
libgsf-1: No array length for Infile.child_by_aname.names
authorLuca Bruno <lucabru@src.gnome.org>
Mon, 19 Nov 2012 12:28:33 +0000 (13:28 +0100)
committerLuca Bruno <lucabru@src.gnome.org>
Mon, 19 Nov 2012 12:28:33 +0000 (13:28 +0100)
Fixes bug 688556.

vapi/libgsf-1.vapi
vapi/packages/libgsf-1/libgsf-1.metadata

index 7799dd516439fae85db845ee1ca4973ac6404093..d67d5be8ed85d286f0958abaad10a201d62311c5 100644 (file)
@@ -55,7 +55,7 @@ namespace Gsf {
        public class Infile : Gsf.Input {
                [CCode (has_construct_function = false)]
                protected Infile ();
-               public unowned Gsf.Input child_by_aname (string[] names);
+               public unowned Gsf.Input child_by_aname ([CCode (array_length = false)] string[] names);
                public virtual unowned Gsf.Input? child_by_index (int i);
                public virtual unowned Gsf.Input? child_by_name (string name);
                public unowned Gsf.Input child_by_vaname (void* names);
index 2eeec3d88c441f73797253cc47e233057f2b0ec3..d2b8000922731de2aee2a3e4f28066f6ae81a089 100644 (file)
@@ -71,6 +71,7 @@ gsf_input_uncompress.src transfer_ownership="1"
 gsf_input_sibling transfer_ownership="1"
 gsf_input_mmap_new transfer_ownership="1"
 gsf_input_dup transfer_ownership="1"
+gsf_infile_child_by_aname.names no_array_length="1"
 gsf_infile_child_by_index transfer_ownership="1"
 gsf_infile_child_by_vname transfer_ownership="1" ellipsis="1"
 gsf_infile_child_by_name transfer_ownership="1"