]> git.ipfire.org Git - thirdparty/vala.git/commit
gdk-pixbuf-2.0: Change ownership of Pixbuf.from_data.data
authorZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Fri, 25 May 2012 06:35:26 +0000 (23:35 -0700)
committerEvan Nemerson <evan@coeus-group.com>
Fri, 25 May 2012 17:53:38 +0000 (10:53 -0700)
commitde4fd9683767b754cd77e4cf4df0c84c67ddbade
treec40520b992cc4f205d5dd1e1a85863660fa6a376
parentf312f8eb30ed7e2b7c3331cf70dd71886c148207
gdk-pixbuf-2.0: Change ownership of Pixbuf.from_data.data

This also adds a Pixbuf.take_data which behaves like the old version.
This can be helpful for avoiding unnecessary copies, but is easy to
get wrong.

Thanks to Patryk Zawadzki <patrys@pld-linux.org> for help in finding
this issue out. Fixes bug 676695.
vapi/gdk-pixbuf-2.0.vapi
vapi/metadata/GdkPixbuf-2.0-custom.vala
vapi/metadata/GdkPixbuf-2.0.metadata