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 562615 - Struct methods missing
Struct methods missing
Status: RESOLVED FIXED
Product: gobject-introspection
Classification: Platform
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gobject-introspection Maintainer(s)
gobject-introspection Maintainer(s)
Depends on:
Blocks: 559704
 
 
Reported: 2008-11-28 20:51 UTC by Jürg Billeter
Modified: 2015-02-07 16:56 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jürg Billeter 2008-11-28 20:51:29 UTC
Struct methods are missing in the <record> element for structs that do not have fields. For example, FileAttributeMatcher in GIO is affected.
Comment 1 Jürg Billeter 2009-01-02 19:06:24 UTC
To clarify, struct methods are in the generated .gir file. However, they are only listed as functions in the namespace with no relation to the struct. The bug is about moving the methods from the namespace to the appropriate <record> element.
Comment 2 Johan (not receiving bugmail) Dahlin 2009-01-20 20:42:00 UTC
I took some time to fix this up:

2009-01-20  Johan Dahlin  <jdahlin@async.com.br>

        Bug 562615 – Struct methods missing

        * giscanner/annotationparser.py:
        * giscanner/ast.py:
        * giscanner/girwriter.py:
        * giscanner/glibast.py:
        * giscanner/glibtransformer.py:
        * tests/scanner/foo-1.0-expected.gir:
        * tests/scanner/foo-1.0-expected.tgir:
Comment 3 André Klapper 2015-02-07 16:56:11 UTC
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]