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 661677 - scanner: allow GObject.Object as a superclass return type
scanner: allow GObject.Object as a superclass return type
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)
: 637026 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-10-13 16:23 UTC by Dan Winship
Modified: 2015-02-07 16:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
scanner: allow GObject.Object as a superclass return type (1.11 KB, patch)
2011-10-13 16:23 UTC, Dan Winship
reviewed Details | Review
scanner: allow GObject.Object as a superclass return type (3.08 KB, patch)
2011-10-13 16:38 UTC, Dan Winship
committed Details | Review

Description Dan Winship 2011-10-13 16:23:52 UTC
6172c268 made the scanner think GObject* wasn't a superclass of its
subclasses. Fix that.
Comment 1 Dan Winship 2011-10-13 16:23:53 UTC
Created attachment 198949 [details] [review]
scanner: allow GObject.Object as a superclass return type
Comment 2 Colin Walters 2011-10-13 16:25:49 UTC
Review of attachment 198949 [details] [review]:

Wow, that's old.  What code were you working on that hit this?  Can you make a quick regression test?
Comment 3 Dan Winship 2011-10-13 16:38:01 UTC
Created attachment 198950 [details] [review]
scanner: allow GObject.Object as a superclass return type

now with regression test

> What code were you working on that hit this?

libnm-glib. Guess no one's using it from bindings... (I just wanted to
get rid of the warnings)
Comment 4 Colin Walters 2011-10-13 16:57:38 UTC
Review of attachment 198950 [details] [review]:

Looks good, thanks a lot for making a test.
Comment 5 Dan Winship 2011-10-13 17:02:30 UTC
Attachment 198950 [details] pushed as 52e1281 - scanner: allow GObject.Object as a superclass return type
Comment 6 Simon Feltman 2013-09-13 23:06:22 UTC
*** Bug 637026 has been marked as a duplicate of this bug. ***
Comment 7 André Klapper 2015-02-07 16:45:33 UTC
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]