[valadoc] driver/0.13.x: Make use of Vala.CCodeBaseModule.get_ccode_nick
- From: Florian Brosch <flobrosch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [valadoc] driver/0.13.x: Make use of Vala.CCodeBaseModule.get_ccode_nick
- Date: Sat, 6 Aug 2011 19:28:38 +0000 (UTC)
commit 1d9b74658a7e24b76d52697a4f2d20cfd8f9211d
Author: Florian Brosch <flo brosch gmail com>
Date: Sat Aug 6 21:24:12 2011 +0200
driver/0.13.x: Make use of Vala.CCodeBaseModule.get_ccode_nick
src/driver/0.13.x/treebuilder.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/driver/0.13.x/treebuilder.vala b/src/driver/0.13.x/treebuilder.vala
index e93a864..bb57e99 100644
--- a/src/driver/0.13.x/treebuilder.vala
+++ b/src/driver/0.13.x/treebuilder.vala
@@ -273,7 +273,7 @@ public class Valadoc.Drivers.TreeBuilder : Vala.CodeVisitor {
private string get_nick (Vala.Property prop) {
#if VALA_0_13_X
- return prop.get_attribute_string ("Description", "nick") ?? prop.name.replace ("_", "-");
+ return Vala.CCodeBaseModule.get_ccode_nick (prop);
#else
return prop.nick;
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]