Commit 689b045f authored by Didier 'Ptitjes's avatar Didier 'Ptitjes Committed by Jürg Billeter

GIR writer: Generate property's cannonical name instead of name

Signed-off-by: default avatarDidier 'Ptitjes <ptitjes@free.fr>
parent 7f07fa0c
......@@ -561,7 +561,7 @@ public class Vala.GIRWriter : CodeVisitor {
}
write_indent ();
stream.printf ("<property name=\"%s\"", prop.name);
stream.printf ("<property name=\"%s\"", prop.get_canonical_name ());
if (prop.get_accessor != null) {
stream.printf (" readable=\"1\"");
}
......
......@@ -243,7 +243,7 @@ public class Vala.Property : Member, Lockable {
return new CCodeConstant ("\"%s\"".printf (get_canonical_name ()));
}
private string get_canonical_name () {
public string get_canonical_name () {
var str = new StringBuilder ();
string i = name;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment