]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gdk-pixbuf-2.0: GdkPixbufDestroyNotify doesn't have a length parameter
authorEvan Nemerson <evan@coeus-group.com>
Thu, 25 Mar 2010 06:48:47 +0000 (23:48 -0700)
committerEvan Nemerson <evan@coeus-group.com>
Thu, 25 Mar 2010 06:48:47 +0000 (23:48 -0700)
Fixes bug 613855.

vapi/gdk-pixbuf-2.0.vapi
vapi/packages/gdk-pixbuf-2.0/gdk-pixbuf-2.0.metadata

index 15f621261be50dec54a165e9be50d6e670837090..e1071f18891c8d74e5eb2d0ecb78f3c2875857d6 100644 (file)
@@ -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")]
index 22700900e567eff52512f913bae4aa64008b1c2c..264af3fbd56b551249bf9fd87a309e744b5e6b11 100644 (file)
@@ -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"