From: Étienne Bersac Date: Thu, 25 Dec 2008 16:19:49 +0000 (+0000) Subject: Don't prevent notifying struct properties. X-Git-Tag: VALA_0_5_4~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60eba11997975c8c1d186694f1efce522b08e976;p=thirdparty%2Fvala.git Don't prevent notifying struct properties. svn path=/trunk/; revision=2240 --- diff --git a/ChangeLog b/ChangeLog index 6137f8c00..b8a639faf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-12-25 Étienne BERSAC + + * gobject/valaccodebasemodule.vala: + + Don't prevent notifying struct property. + 2008-12-22 Jürg Billeter * gobject/valaccodebasemodule.vala: diff --git a/gobject/valaccodebasemodule.vala b/gobject/valaccodebasemodule.vala index 8eb024216..feb1b6c18 100644 --- a/gobject/valaccodebasemodule.vala +++ b/gobject/valaccodebasemodule.vala @@ -1266,7 +1266,6 @@ public class Vala.CCodeBaseModule : CCodeModule { prop.notify && prop.access != SymbolAccessibility.PRIVATE && // FIXME: use better means to detect gobject properties prop.binding == MemberBinding.INSTANCE && - !prop.property_type.is_real_struct_type () && (acc.writable || acc.construction)) { var notify_call = new CCodeFunctionCall (new CCodeIdentifier ("g_object_notify")); notify_call.add_argument (new CCodeCastExpression (new CCodeIdentifier ("self"), "GObject *"));