GNOME Bugzilla – Bug 568680
Scanner misses fields (at least in GObject.Object)
Last modified: 2015-02-07 16:44:08 UTC
For some reason, the scanner misses all fields of the GObject struct -- there are no <field> children of the <class> element for GObject in the GIR. This of course yields wrong field offsets for all derived objects. I'll attach a patch that adds a testcase which exposes the bug.
Created attachment 126989 [details] [review] Adds offset test for a GObject-derived instance
Created attachment 127079 [details] [review] Fixes the loss of fields in GObjects
For the scanner part, can you please add a .xpath file that checks that the tags for the GObject fields are present? We really want to avoid this kind of regressions in the future.
*** Bug 569408 has been marked as a duplicate of this bug. ***
Created attachment 127371 [details] [review] v2 This patch now has xpath assertations, and also contains a fix for 569408, due to Colin Walters.
Applied, thanks!
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]