vala r1735 - in trunk: . gobject
- From: juergbi svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r1735 - in trunk: . gobject
- Date: Wed, 6 Aug 2008 13:00:55 +0000 (UTC)
Author: juergbi
Date: Wed Aug 6 13:00:55 2008
New Revision: 1735
URL: http://svn.gnome.org/viewvc/vala?rev=1735&view=rev
Log:
2008-08-06 JÃrg Billeter <j bitron ch>
* gobject/valaccodegenerator.vala:
Fix crash when using VAPI properties outside of a class
Modified:
trunk/ChangeLog
trunk/gobject/valaccodegenerator.vala
Modified: trunk/gobject/valaccodegenerator.vala
==============================================================================
--- trunk/gobject/valaccodegenerator.vala (original)
+++ trunk/gobject/valaccodegenerator.vala Wed Aug 6 13:00:55 2008
@@ -953,7 +953,8 @@
}
// 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)) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]