[vala/0.34] 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/0.34] girwriter: Use the correct tag- and element-name for an annotation
- Date: Sun, 6 Nov 2016 17:09:01 +0000 (UTC)
commit 1438ee58f2ecbe540be752a0768b08b31c38bd49
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 01389cf..9329628 100644
--- a/codegen/valagirwriter.vala
+++ b/codegen/valagirwriter.vala
@@ -1369,7 +1369,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]