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 653607 - Arrays not annotated as such for introspection bindings
Arrays not annotated as such for introspection bindings
Status: RESOLVED FIXED
Product: clutter
Classification: Platform
Component: general
1.6
Other Linux
: Normal normal
: ---
Assigned To: clutter-maint
clutter-maint
Depends on:
Blocks:
 
 
Reported: 2011-06-29 03:10 UTC by Peter Ward
Modified: 2011-07-01 11:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to add annotations (2.34 KB, patch)
2011-06-29 03:10 UTC, Peter Ward
committed Details | Review

Description Peter Ward 2011-06-29 03:10:49 UTC
Created attachment 190901 [details] [review]
patch to add annotations

The attached patch adds array annotations to clutter_texture_set_rgb_data, clutter_texture_set_yuv_data, clutter_texture_set_area_from_rgb_data, and clutter_stage_read_pixels.
Otherwise, the generated introspection data expects to be given (or returns) a single integer, and it is impossible to correctly use the function.

There may be more cases where this happens, these were the ones I found by grepping the .gir file.
Comment 1 Emmanuele Bassi (:ebassi) 2011-06-29 09:17:16 UTC
Review of attachment 190901 [details] [review]:

looks good.
Comment 2 Emmanuele Bassi (:ebassi) 2011-07-01 11:32:55 UTC
Attachment 190901 [details] pushed to master