summaryrefslogtreecommitdiff
path: root/vala/valausedattr.vala
diff options
context:
space:
mode:
authorYu Feng <rainwoodman@gmail.com>2016-12-03 17:43:06 -0800
committerRico Tzschichholz <ricotz@ubuntu.com>2016-12-05 09:02:36 +0100
commit323a13a36856faa694313d1465d625384422f7a3 (patch)
tree355d05d35365a39bfb167a61e4e3ccb3f762e0be /vala/valausedattr.vala
parent6f750884caf851baea27a0bc8e801bedbe94c51c (diff)
downloadvala-323a13a36856faa694313d1465d625384422f7a3.tar.gz
girwriter: Add fullname GIR attribute, and set fullname of GObject.Type
In gir files generated by Vala, members of type GType is referenced with name "GObject.Type", but GObject-introspection expect it to be "GType". While there was no way to override the fully qualified GIR name of a member, this patch adds [GIR (fullname = "GType")] to fix the mismatch for GObject.Type. https://bugzilla.gnome.org/show_bug.cgi?id=775591
Diffstat (limited to 'vala/valausedattr.vala')
-rw-r--r--vala/valausedattr.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/vala/valausedattr.vala b/vala/valausedattr.vala
index 2e5840d55..63b710432 100644
--- a/vala/valausedattr.vala
+++ b/vala/valausedattr.vala
@@ -76,7 +76,7 @@ public class Vala.UsedAttr : CodeVisitor {
"DBus", "name", "no_reply", "result", "use_string_marshalling", "value", "signature", "visible", "timeout", "",
- "GIR", "name", ""
+ "GIR", "fullname", "name", ""
};