GNOME Bugzilla – Bug 775591
GObject.Type shall be GType in generated gir files
Last modified: 2016-12-05 08:21:33 UTC
Created attachment 341336 [details] [review] 0001-add-fullname-GIR-attribute-and-set-fullname-of-GObje.patch Please see the patch.
A test case is here https://github.com/rainwoodman/vast/issues/28#issuecomment-264674882
commit 323a13a36856faa694313d1465d625384422f7a3 Author: Yu Feng <rainwoodman@gmail.com> Date: Sat Dec 3 17:43:06 2016 -0800 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.