[vala] gdk-pixbuf-2.0: GdkPixbufDestroyNotify doesn't have a length parameter
- From: Evan Nemerson <evann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gdk-pixbuf-2.0: GdkPixbufDestroyNotify doesn't have a length parameter
- Date: Thu, 25 Mar 2010 06:58:27 +0000 (UTC)
commit e25f5b51c796426f45c626de7487186ba64d1b9b
Author: Evan Nemerson <evan coeus-group com>
Date: Wed Mar 24 23:48:47 2010 -0700
gdk-pixbuf-2.0: GdkPixbufDestroyNotify doesn't have a length parameter
Fixes bug 613855.
vapi/gdk-pixbuf-2.0.vapi | 2 +-
.../gdk-pixbuf-2.0/gdk-pixbuf-2.0.metadata | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/vapi/gdk-pixbuf-2.0.vapi b/vapi/gdk-pixbuf-2.0.vapi
index 15f6212..e1071f1 100644
--- a/vapi/gdk-pixbuf-2.0.vapi
+++ b/vapi/gdk-pixbuf-2.0.vapi
@@ -199,7 +199,7 @@ namespace Gdk {
ENCODING_MASK
}
[CCode (cheader_filename = "gdk-pixbuf/gdk-pixdata.h")]
- public delegate void PixbufDestroyNotify (uchar[] pixels);
+ public delegate void PixbufDestroyNotify ([CCode (array_length = false)] uchar[] pixels);
[CCode (cheader_filename = "gdk-pixbuf/gdk-pixdata.h")]
public delegate bool PixbufSaveFunc (string buf, size_t count, GLib.Error error);
[CCode (cheader_filename = "gdk-pixbuf/gdk-pixdata.h")]
diff --git a/vapi/packages/gdk-pixbuf-2.0/gdk-pixbuf-2.0.metadata b/vapi/packages/gdk-pixbuf-2.0/gdk-pixbuf-2.0.metadata
index 2270090..264af3f 100644
--- a/vapi/packages/gdk-pixbuf-2.0/gdk-pixbuf-2.0.metadata
+++ b/vapi/packages/gdk-pixbuf-2.0/gdk-pixbuf-2.0.metadata
@@ -20,6 +20,7 @@ gdk_pixbuf_scale_simple transfer_ownership="1"
gdk_pixbuf_rotate_simple transfer_ownership="1"
gdk_pixbuf_flip transfer_ownership="1"
gdk_pixbuf_loader_write.buf no_array_length="1"
+GdkPixbufDestroyNotify.pixels no_array_length="1"
GdkPixdata is_value_type="1"
GdkPixdata.pixel_data is_array="1"
gdk_pixdata_deserialize.stream is_array="1" array_length_pos="0.9"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]