After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 775591 - GObject.Type shall be GType in generated gir files
GObject.Type shall be GType in generated gir files
Status: RESOLVED FIXED
Product: vala
Classification: Core
Component: GObject Introspection
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2016-12-04 01:49 UTC by rainwoodman
Modified: 2016-12-05 08:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
0001-add-fullname-GIR-attribute-and-set-fullname-of-GObje.patch (2.26 KB, patch)
2016-12-04 01:49 UTC, rainwoodman
committed Details | Review

Description rainwoodman 2016-12-04 01:49:50 UTC
Created attachment 341336 [details] [review]
0001-add-fullname-GIR-attribute-and-set-fullname-of-GObje.patch

Please see the patch.
Comment 1 rainwoodman 2016-12-04 01:52:32 UTC
A test case is here

https://github.com/rainwoodman/vast/issues/28#issuecomment-264674882
Comment 2 Rico Tzschichholz 2016-12-05 08:21:29 UTC
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.