From 8a5866d42ead5b3f55a62f178576fd7bb0cd9083 Mon Sep 17 00:00:00 2001 From: Juerg Billeter Date: Fri, 14 Mar 2008 02:23:19 +0000 Subject: [PATCH] fix gdk_pixbuf_loader_write binding 2008-03-14 Juerg Billeter * vapi/packages/gdk-pixbuf-2.0/: fix gdk_pixbuf_loader_write binding * vapi/gdk-pixbuf-2.0.vapi: regenerated svn path=/trunk/; revision=1125 --- ChangeLog | 6 ++++++ vapi/gdk-pixbuf-2.0.vapi | 4 ++-- vapi/packages/gdk-pixbuf-2.0/gdk-pixbuf-2.0.metadata | 1 + 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index f89de3e..7604bca 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2008-03-14 Jürg Billeter + * vapi/packages/gdk-pixbuf-2.0/: fix gdk_pixbuf_loader_write binding + + * vapi/gdk-pixbuf-2.0.vapi: regenerated + +2008-03-14 Jürg Billeter + * vala/Makefile.am, vala/valaarraytype.vala, vala/valadatatype.vala, vala/valamember.vala, vala/valasemanticanalyzer.vala, vala/valasymbolresolver.vala, vala/valatypeparameter.vala, diff --git a/vapi/gdk-pixbuf-2.0.vapi b/vapi/gdk-pixbuf-2.0.vapi index 2618f13..9e3b6e0 100644 --- a/vapi/gdk-pixbuf-2.0.vapi +++ b/vapi/gdk-pixbuf-2.0.vapi @@ -156,7 +156,7 @@ namespace Gdk { public PixbufLoader.with_mime_type (string mime_type) throws GLib.Error; public PixbufLoader.with_type (string image_type) throws GLib.Error; public void set_size (int width, int height); - public bool write (uchar[] buf, ulong count) throws GLib.Error; + public bool write (uchar[] buf) throws GLib.Error; public signal void area_prepared (); public signal void area_updated (int x, int y, int width, int height); public signal void closed (); @@ -179,7 +179,7 @@ namespace Gdk { public uint width; public uint height; [NoArrayLength] - public weak uchar[] pixel_data; + public uchar[] pixel_data; public bool deserialize ([CCode (array_length_pos = 0.9)] uchar[] stream) throws GLib.Error; public pointer from_pixbuf (Gdk.Pixbuf pixbuf, bool use_rle); public weak uchar[] serialize (); 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 b37b111..8892e4b 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 @@ -4,6 +4,7 @@ gdk_pixbuf_save_to_bufferv.option_keys is_array="1" gdk_pixbuf_save_to_bufferv.option_values is_array="1" gdk_pixbuf_save_to_callbackv.option_keys is_array="1" gdk_pixbuf_save_to_callbackv.option_values is_array="1" +gdk_pixbuf_loader_write.count hidden="1" GdkPixdata is_value_type="1" GdkPixdata.pixel_data is_array="1" gdk_pixdata_deserialize.stream is_array="1" array_length_pos="0.9" -- 2.7.4