GNOME Bugzilla – Bug 685399
can't (skip) function with other warnings?
Last modified: 2015-02-07 17:01:16 UTC
The scanner complained: nm-mobile-wizard.h:50: Warning: NMGtk: nma_mobile_wizard_new: argument cb: Missing (scope) annotation for callback without GDestroyNotify (valid: call, async) nm-mobile-wizard.h:50: Warning: NMGtk: nma_mobile_wizard_new: return value: Invalid non-constant return of bare structure or union; register as boxed type or (skip) So I added: /** * nma_mobile_wizard_new: (skip) */ and tried again, but still got exactly the same warnings. I had to do: /** * nma_mobile_wizard_new: (skip) * @cb: (scope async) */ and then it accepted it without warnings
Can't reproduce; i added a test case here: http://git.gnome.org/browse/gobject-introspection/commit/ What version of g-i were you using? Is there a way to make that test case fail?
Er, http://git.gnome.org/browse/gobject-introspection/commit/?id=6fc366a66c58039aec345cc531c329729b6bce18
This was on F17 (and possibly with some weird unstable jhbuild gobject-introspection I guess...). It seems fixed in F18.
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]