diff options
author | Jürg Billeter <j@bitron.ch> | 2009-01-29 16:16:34 +0000 |
---|---|---|
committer | Jürg Billeter <juergbi@src.gnome.org> | 2009-01-29 16:16:34 +0000 |
commit | 73204f011bb2467222a13760e02d0c9bc225ffc4 (patch) | |
tree | 906a7125cf8aea84c75d214817d35baff0f668cf | |
parent | 9e4327e90a18d1a798977fbfbcdf1fb69066e372 (diff) | |
download | vala-73204f011bb2467222a13760e02d0c9bc225ffc4.tar.gz |
Honor lower_case_cprefix attribute for property accessors, fixes bug
2009-01-29 Jürg Billeter <j@bitron.ch>
* vala/valapropertyaccessor.vala:
Honor lower_case_cprefix attribute for property accessors,
fixes bug 569646
svn path=/trunk/; revision=2407
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | vala/valapropertyaccessor.vala | 4 |
2 files changed, 9 insertions, 2 deletions
@@ -1,3 +1,10 @@ +2009-01-29 Jürg Billeter <j@bitron.ch> + + * vala/valapropertyaccessor.vala: + + Honor lower_case_cprefix attribute for property accessors, + fixes bug 569646 + 2009-01-27 Jürg Billeter <j@bitron.ch> * vapi/posix.vapi: diff --git a/vala/valapropertyaccessor.vala b/vala/valapropertyaccessor.vala index 75b781f81..756ecd3c4 100644 --- a/vala/valapropertyaccessor.vala +++ b/vala/valapropertyaccessor.vala @@ -96,9 +96,9 @@ public class Vala.PropertyAccessor : CodeNode { var t = (TypeSymbol) prop.parent_symbol; if (readable) { - return "%s_get_%s".printf (t.get_lower_case_cname (null), prop.name); + return "%sget_%s".printf (t.get_lower_case_cprefix (), prop.name); } else { - return "%s_set_%s".printf (t.get_lower_case_cname (null), prop.name); + return "%sset_%s".printf (t.get_lower_case_cprefix (), prop.name); } } |