GNOME Bugzilla – Bug 732197
goo_canvas_get_bounds needs annotations for out arguments
Last modified: 2016-12-15 21:05:56 UTC
The left, top, right, and bottom arguments of goo_canvas_item_raise should be marked as (out).
Paste mistake, should be goo_canvas_get_bounds.
Created attachment 279164 [details] [review] Annotate goo_canvas_get_bounds arguments as out Add (out) annotations to left, top, right, and bottom arguments.
Review of attachment 279164 [details] [review]: LGTM
The patch works for me. Indeed it is needed to be able to switch goocalendar to gir: https://goocalendar.tryton.org/bug4
Patch applied. Thanks. (Should they have "allow-none" as well?)
I think it should have "allow-none" like in the example: https://wiki.gnome.org/Projects/GObjectIntrospection/Annotations/Old#A.27out.27_parameters
I've added (allow-none) to a few function parameters: 2016-12-15 Damon Chaplin <damon@gnome.org> * src/goocanvastext.c (goo_canvas_text_get_natural_extents): * src/goocanvas.c (goo_canvas_render): * src/goocanvas.c (goo_canvas_get_bounds): added (allow-none) annotations for introspection.