vala r2240 - in trunk: . gobject



Author: bersace
Date: Thu Dec 25 16:19:49 2008
New Revision: 2240
URL: http://svn.gnome.org/viewvc/vala?rev=2240&view=rev

Log:
Don't prevent notifying struct properties.

Modified:
   trunk/ChangeLog
   trunk/gobject/valaccodebasemodule.vala

Modified: trunk/gobject/valaccodebasemodule.vala
==============================================================================
--- trunk/gobject/valaccodebasemodule.vala	(original)
+++ trunk/gobject/valaccodebasemodule.vala	Thu Dec 25 16:19:49 2008
@@ -1266,7 +1266,6 @@
 			    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 *"));



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]