]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
girparser: Fix typo when calling element_get_type in parse_parameter
authorLuca Bruno <lucabru@src.gnome.org>
Sat, 16 Jul 2011 17:02:53 +0000 (19:02 +0200)
committerLuca Bruno <lucabru@src.gnome.org>
Sat, 16 Jul 2011 17:05:00 +0000 (19:05 +0200)
vala/valagirparser.vala

index 5276c8f0841d4faf08fbee851bad32d74945c9c6..2d110963e64a7ff97b90bd01eca5361674e73d9c 100644 (file)
@@ -1956,7 +1956,7 @@ public class Vala.GirParser : CodeVisitor {
                        }
 
                        bool changed;
-                       type = element_get_type (type, direction == "out" || direction == "ref", ref no_array_length, out changed);
+                       type = element_get_type (type, direction == "out" || direction == "inout", ref no_array_length, out changed);
                        if (!changed) {
                                // discard ctype, duplicated information
                                ctype = null;