GNOME Bugzilla – Bug 677013
Introspection annotations for allow-none parameters missing
Last modified: 2013-09-24 10:58:10 UTC
Some functions are missing the (allow-none) introspection annotation. A quick check found the following functions: * goo_canvas_item_model_raise * goo_canvas_item_model_lower * goo_canvas_item_model_set_transform * goo_canvas_item_raise * goo_canvas_item_lower * goo_canvas_item_set_transform Also, fun little detail: To use the raise function one needs to use "__getattribute__('raise')" in python because raise it is a keyword (the static bindings renamed it to .raise_ for this reason).
The "raise" problem is already discussed in bug #676746. Seems like there will be a workaround in pygobject to rename the symbol to "raise_" automatically.
Thanks. I'll fix them for the next release. Let me know if you spot any more problems.
Fixed in git.