After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 677013 - Introspection annotations for allow-none parameters missing
Introspection annotations for allow-none parameters missing
Status: RESOLVED FIXED
Product: goocanvas
Classification: Other
Component: general
2.0.x
Other Linux
: Normal minor
: ---
Assigned To: goocanvas-maint
goocanvas-maint
Depends on:
Blocks: 632113
 
 
Reported: 2012-05-29 08:35 UTC by Benjamin Berg
Modified: 2013-09-24 10:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Benjamin Berg 2012-05-29 08:35:17 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).
Comment 1 Benjamin Berg 2012-05-29 10:45:57 UTC
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.
Comment 2 Damon Chaplin 2012-06-26 07:47:29 UTC
Thanks. I'll fix them for the next release.

Let me know if you spot any more problems.
Comment 3 Damon Chaplin 2013-09-24 10:58:10 UTC
Fixed in git.