]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
girparser: Allow specifying type for property in metadata
authorLuca Bruno <lucabru@src.gnome.org>
Wed, 25 May 2011 21:58:45 +0000 (23:58 +0200)
committerLuca Bruno <lucabru@src.gnome.org>
Wed, 25 May 2011 21:58:45 +0000 (23:58 +0200)
vala/valagirparser.vala

index fa76ffe324d7f1f1ba7595831649a4186f85d0ca..dc7cfe79650384964d5dcccc351c352f76d80e73 100644 (file)
@@ -2325,6 +2325,7 @@ public class Vala.GirParser : CodeVisitor {
                bool no_array_length;
                bool array_null_terminated;
                var type = parse_type (null, null, false, out no_array_length, out array_null_terminated);
+               type = element_get_type (type, true, ref no_array_length);
                var prop = new Property (current.name, type, null, null, current.source_reference);
                prop.access = SymbolAccessibility.PUBLIC;
                prop.external = true;