]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Don't prevent notifying struct properties.
authorÉtienne Bersac <bersace@src.gnome.org>
Thu, 25 Dec 2008 16:19:49 +0000 (16:19 +0000)
committerÉtienne Bersac <bersace@src.gnome.org>
Thu, 25 Dec 2008 16:19:49 +0000 (16:19 +0000)
svn path=/trunk/; revision=2240

ChangeLog
gobject/valaccodebasemodule.vala

index 6137f8c00fbf5e9ccfa19d00dbe3417af4c6977f..b8a639faf84254c01f2fc32d5e751b221226d06f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-12-25  Étienne BERSAC  <bersace03@laposte.net>
+
+       * gobject/valaccodebasemodule.vala:
+
+       Don't prevent notifying struct property.
+
 2008-12-22  Jürg Billeter  <j@bitron.ch>
 
        * gobject/valaccodebasemodule.vala:
index 8eb024216b9f716fe86338665a89691cf242ed7b..feb1b6c183c43b5a3a826017571a5a5cb87459ad 100644 (file)
@@ -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 *"));