]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Fix notify warning for array properties
authorJürg Billeter <j@bitron.ch>
Mon, 15 Jun 2009 11:44:56 +0000 (13:44 +0200)
committerJürg Billeter <j@bitron.ch>
Mon, 15 Jun 2009 11:51:34 +0000 (13:51 +0200)
codegen/valaccodebasemodule.vala

index 42333d7ae458eb12139b2fd3a988fe30800d61ee..5be268c988c9fb499cb09d9d3af525a07f67f9c9 100644 (file)
@@ -1422,6 +1422,7 @@ internal class Vala.CCodeBaseModule : CCodeModule {
                        var st = prop.property_type.data_type as Struct;
                        if (typesymbol.is_subtype_of (gobject_type) &&
                            (st == null || st.has_type_id) &&
+                           !(prop.property_type is ArrayType) &&
                            prop.notify &&
                            prop.access != SymbolAccessibility.PRIVATE && // FIXME: use better means to detect gobject properties
                            prop.binding == MemberBinding.INSTANCE &&