[vala: 2/2] girwriter: Use the correct tag- and element-name for an annotation
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala: 2/2] girwriter: Use the correct tag- and element-name for an annotation
- Date: Fri, 4 Nov 2016 08:04:00 +0000 (UTC)
commit 7bb9b1c691bbe175d3e2ddee4bcc1146d8ae2c4c
Author: Andrea Del Signore <sejerpz gmail com>
Date: Thu Nov 3 23:01:00 2016 +0100
girwriter: Use the correct tag- and element-name for an annotation
The correct syntax is <attribute name=".." value=".."/>
https://bugzilla.gnome.org/show_bug.cgi?id=769597
codegen/valagirwriter.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/codegen/valagirwriter.vala b/codegen/valagirwriter.vala
index 4d361f5..302f8ae 100644
--- a/codegen/valagirwriter.vala
+++ b/codegen/valagirwriter.vala
@@ -1373,7 +1373,7 @@ public class Vala.GIRWriter : CodeVisitor {
}
write_indent ();
- buffer.append_printf ("<annotation key=\"%s.%s\" value=\"%s\"/>\n",
+ buffer.append_printf ("<attribute name=\"%s.%s\" value=\"%s\"/>\n",
name, camel_case_to_canonical (arg_name), value);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]