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 569408 - Scanner doesn't handle arbitrary typedefs correctly
Scanner doesn't handle arbitrary typedefs correctly
Status: RESOLVED DUPLICATE of bug 568680
Product: gobject-introspection
Classification: Platform
Component: general
2.19.x
Other Linux
: Normal normal
: ---
Assigned To: gobject-introspection Maintainer(s)
gobject-introspection Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2009-01-28 00:18 UTC by Andreas Rottmann
Modified: 2015-02-07 16:54 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andreas Rottmann 2009-01-28 00:18:51 UTC
Currently, the scanner produces this GIR output:

    <class name="InitiallyUnowned" parent="Object" abstract="1" glib:type-name="GInitiallyUnowned" glib:get-type="g_initially_unowned_get_type"/>

Note the closing tag; this empty object/class should actually be an alias for GObject.

This bug causes offsets of all classes derived from GObjectInitiallyUnowned to have wrong offsets; for instance, it manifests itself GtkWidget and all derived classes.
Comment 1 Colin Walters 2009-01-28 02:14:56 UTC
This one turned out to be because GInitiallyUnowned is a special case (typedef in C, subclass in GType).  Other typedefs should show up as <alias>.

*** This bug has been marked as a duplicate of 568680 ***
Comment 2 André Klapper 2015-02-07 16:54:39 UTC
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]