vala r2407 - in trunk: . vala
- From: juergbi svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r2407 - in trunk: . vala
- Date: Thu, 29 Jan 2009 16:16:34 +0000 (UTC)
Author: juergbi
Date: Thu Jan 29 16:16:34 2009
New Revision: 2407
URL: http://svn.gnome.org/viewvc/vala?rev=2407&view=rev
Log:
2009-01-29 JÃrg Billeter <j bitron ch>
* vala/valapropertyaccessor.vala:
Honor lower_case_cprefix attribute for property accessors,
fixes bug 569646
Modified:
trunk/ChangeLog
trunk/vala/valapropertyaccessor.vala
Modified: trunk/vala/valapropertyaccessor.vala
==============================================================================
--- trunk/vala/valapropertyaccessor.vala (original)
+++ trunk/vala/valapropertyaccessor.vala Thu Jan 29 16:16:34 2009
@@ -96,9 +96,9 @@
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);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]