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 626025 - Gdk.Pixbuf.get_pixels() binding not very usable
Gdk.Pixbuf.get_pixels() binding not very usable
Status: RESOLVED FIXED
Product: vala
Classification: Core
Component: Bindings: GTK+ GStreamer WebKitGTK+
unspecified
Other All
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on: 658859
Blocks:
 
 
Reported: 2010-08-04 14:05 UTC by zarevucky.jiri
Modified: 2012-01-22 07:54 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description zarevucky.jiri 2010-08-04 14:05:26 UTC
It is array_length = false and as such, trivial assignment to an owned variable will cause segfault.
I suggest making the binding private and writing a wrapper method.
Comment 1 Evan Nemerson 2012-01-22 07:54:40 UTC
New gdk-pixbuf-2.0 includes a get_pixels_with_length method for this purpose.