GNOME Bugzilla – Bug 636393
caller-allocates not set correctly for out params of GdkRectangle
Last modified: 2015-02-07 16:49:24 UTC
I tried adding an (out) annotation to gdk_screen_get_monitor_geometry() but it didn't work. The gir showed: <parameter name="dest" direction="out" caller-allocates="0" transfer-ownership="full"> I think it needs to be caller-allocates="1".
I think the bug here is the scanner not handling the Alias() type of Gdk.Rectangle; we see it's not an ast.Struct or ast.Union and just skip it. A quick workaround in the annotation would be to say (out caller-allocates) explicitly.
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]