2008-08-06 Jürg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala:
Fix crash when using VAPI properties outside of a class
svn path=/trunk/; revision=1735
+2008-08-06 Jürg Billeter <j@bitron.ch>
+
+ * gobject/valaccodegenerator.vala:
+
+ Fix crash when using VAPI properties outside of a class
+
2008-08-05 Thijs Vermeir <thijsvermeir@gmail.com>
* vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala:
}
// notify on property changes
- if (current_class.is_subtype_of (gobject_type) &&
+ var typesymbol = (TypeSymbol) prop.parent_symbol;
+ if (typesymbol.is_subtype_of (gobject_type) &&
prop.notify &&
prop.access != SymbolAccessibility.PRIVATE && // FIXME: use better means to detect gobject properties
(acc.writable || acc.construction)) {