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 662009 - gdk-pixbuf: Add new gdk_pixbuf_get_pixels_with_length method for gi users
gdk-pixbuf: Add new gdk_pixbuf_get_pixels_with_length method for gi users
Status: RESOLVED FIXED
Product: gdk-pixbuf
Classification: Platform
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: gdk-pixbuf-maint
gdk-pixbuf-maint
Depends on:
Blocks:
 
 
Reported: 2011-10-17 14:59 UTC by Jasper St. Pierre (not reading bugmail)
Modified: 2013-08-05 19:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch. (3.22 KB, patch)
2011-10-17 14:59 UTC, Jasper St. Pierre (not reading bugmail)
none Details | Review

Description Jasper St. Pierre (not reading bugmail) 2011-10-17 14:59:46 UTC
Created attachment 199220 [details] [review]
Patch.

See patch.
Comment 1 Emmanuele Bassi (:ebassi) 2011-12-29 22:58:43 UTC
this should not have landed.

the proper fix would be to use GBytes, which at least gives us a way to do proper data refcounting.
Comment 2 Matthias Clasen 2011-12-30 02:37:38 UTC
We've done this kind of introspection fixup in a number of places; I don't really see anything wrong with it. I don't really want to open up gdk-pixbuf for new api.

Not that get_pixels() is super-useful in the first place...