vala r1599 - in trunk: . gobject
- From: juergbi svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r1599 - in trunk: . gobject
- Date: Mon, 16 Jun 2008 12:42:47 +0000 (UTC)
Author: juergbi
Date: Mon Jun 16 12:42:47 2008
New Revision: 1599
URL: http://svn.gnome.org/viewvc/vala?rev=1599&view=rev
Log:
2008-06-16 JÃrg Billeter <j bitron ch>
* gobject/valaccodememberaccessbinding.vala:
Fix property access for virtual and interface properties
Modified:
trunk/ChangeLog
trunk/gobject/valaccodememberaccessbinding.vala
Modified: trunk/gobject/valaccodememberaccessbinding.vala
==============================================================================
--- trunk/gobject/valaccodememberaccessbinding.vala (original)
+++ trunk/gobject/valaccodememberaccessbinding.vala Mon Jun 16 12:42:47 2008
@@ -119,7 +119,9 @@
if (prop.get_accessor != null &&
prop.get_accessor.automatic_body &&
- codegen.current_type_symbol == prop.parent_symbol) {
+ codegen.current_type_symbol == prop.parent_symbol &&
+ prop.base_property == null &&
+ prop.base_interface_property == null) {
CCodeExpression inst;
inst = new CCodeMemberAccess.pointer (pub_inst, "priv");
expr.ccodenode = new CCodeMemberAccess.pointer (inst, prop.field.get_cname());
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]