2007-12-16 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegeneratorclass.vala: avoid critical warning when
using abstract properties, fixes bug 503444
svn path=/trunk/; revision=778
2007-12-16 Jürg Billeter <j@bitron.ch>
+ * gobject/valaccodegeneratorclass.vala: avoid critical warning when
+ using abstract properties, fixes bug 503444
+
+2007-12-16 Jürg Billeter <j@bitron.ch>
+
* gobject/valaccodegeneratormethod.vala: cast return value of
g_type_create_instance to avoid gcc warning, fixes bug 503411
private bool class_has_readable_properties (Class! cl) {
foreach (Property prop in cl.get_properties ()) {
- if (prop.get_accessor != null && !prop.is_abstract) {
+ if (prop.get_accessor != null) {
return true;
}
}
private bool class_has_writable_properties (Class! cl) {
foreach (Property prop in cl.get_properties ()) {
- if (prop.set_accessor != null && !prop.is_abstract) {
+ if (prop.set_accessor != null) {
return true;
}
}