]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Fix previous 6c36eb4 commit
authorLuca Bruno <lucabru@src.gnome.org>
Sat, 28 Jun 2014 08:53:18 +0000 (10:53 +0200)
committerLuca Bruno <lucabru@src.gnome.org>
Sat, 28 Jun 2014 08:53:18 +0000 (10:53 +0200)
vala/valaarraytype.vala

index 8ba11985320d99463e29e4971ee5b5698284979d..941485a1f0551602d40f9c53ba7ec112f5dc636f 100644 (file)
@@ -166,7 +166,7 @@ public class Vala.ArrayType : ReferenceType {
 
        public override string to_qualified_string (Scope? scope) {
                var elem_str = element_type.to_qualified_string (scope);
-               if (element_type.is_weak () && !(element_type.parent_node is Constant)) {
+               if (element_type.is_weak () && !(parent_node is Constant)) {
                        elem_str = "(unowned %s)".printf (elem_str);
                }