From: Jürg Billeter Date: Mon, 15 Jun 2009 11:44:56 +0000 (+0200) Subject: Fix notify warning for array properties X-Git-Tag: 0.7.4~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=137dcb4af73d5a55b055980aa3dd5a88fa15be9b;p=thirdparty%2Fvala.git Fix notify warning for array properties --- diff --git a/codegen/valaccodebasemodule.vala b/codegen/valaccodebasemodule.vala index 42333d7ae..5be268c98 100644 --- a/codegen/valaccodebasemodule.vala +++ b/codegen/valaccodebasemodule.vala @@ -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 &&