vala r2367 - in trunk: . gobject
- From: juergbi svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r2367 - in trunk: . gobject
- Date: Fri, 16 Jan 2009 22:00:06 +0000 (UTC)
Author: juergbi
Date: Fri Jan 16 22:00:06 2009
New Revision: 2367
URL: http://svn.gnome.org/viewvc/vala?rev=2367&view=rev
Log:
2009-01-16 JÃrg Billeter <j bitron ch>
* gobject/valaccodebasemodule.vala:
Use correct cname when calling property set accessor,
fixes bug 562172
Modified:
trunk/ChangeLog
trunk/gobject/valaccodebasemodule.vala
Modified: trunk/gobject/valaccodebasemodule.vala
==============================================================================
--- trunk/gobject/valaccodebasemodule.vala (original)
+++ trunk/gobject/valaccodebasemodule.vala Fri Jan 16 22:00:06 2009
@@ -3486,8 +3486,7 @@
} else if (prop.base_interface_property != null) {
base_property = prop.base_interface_property;
}
- var base_property_type = (TypeSymbol) base_property.parent_symbol;
- set_func = "%s_set_%s".printf (base_property_type.get_lower_case_cname (null), base_property.name);
+ set_func = base_property.set_accessor.get_cname ();
if (prop is DynamicProperty) {
set_func = head.get_dynamic_property_setter_cname ((DynamicProperty) prop);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]