From 19c825aa4bc227b6a9b90829abd507953d0f4afd Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrg=20Billeter?= Date: Sun, 29 Jun 2008 11:07:19 +0000 Subject: [PATCH] Various fixes, patch by Ali Sabil MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 2008-06-29 Jürg Billeter * vapi/packages/gdk-pixbuf-2.0/: Various fixes, patch by Ali Sabil * vapi/gdk-pixbuf-2.0.vapi: regenerated svn path=/trunk/; revision=1661 --- ChangeLog | 8 ++++++++ vapi/gdk-pixbuf-2.0.vapi | 7 +++++-- vapi/packages/gdk-pixbuf-2.0/gdk-pixbuf-2.0.metadata | 4 ++++ 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6c980b5..614579e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2008-06-29 Jürg Billeter + + * vapi/packages/gdk-pixbuf-2.0/: + + Various fixes, patch by Ali Sabil + + * vapi/gdk-pixbuf-2.0.vapi: regenerated + 2008-06-29 Jared Moore * vapi/packages/gio-2.0/gio-2.0.metadata: diff --git a/vapi/gdk-pixbuf-2.0.vapi b/vapi/gdk-pixbuf-2.0.vapi index 665a1e5..44a6a66 100644 --- a/vapi/gdk-pixbuf-2.0.vapi +++ b/vapi/gdk-pixbuf-2.0.vapi @@ -1,4 +1,4 @@ -/* gdk-pixbuf-2.0.vapi generated by lt-vapigen, do not modify. */ +/* gdk-pixbuf-2.0.vapi generated by vapigen, do not modify. */ [CCode (cprefix = "Gdk", lower_case_cprefix = "gdk_")] namespace Gdk { @@ -94,10 +94,12 @@ namespace Gdk { public int get_height (); public int get_n_channels (); public weak string get_option (string key); + [NoArrayLength] public weak uchar[] get_pixels (); public int get_rowstride (); public int get_width (); public Pixbuf (Gdk.Colorspace colorspace, bool has_alpha, int bits_per_sample, int width, int height); + [NoArrayLength] public Pixbuf.from_data (uchar[] data, Gdk.Colorspace colorspace, bool has_alpha, int bits_per_sample, int width, int height, int rowstride, Gdk.PixbufDestroyNotify? destroy_fn); public Pixbuf.from_file (string filename) throws GLib.Error; public Pixbuf.from_file_at_scale (string filename, int width, int height, bool preserve_aspect_ratio) throws GLib.Error; @@ -105,12 +107,13 @@ namespace Gdk { public Pixbuf.from_inline (int data_length, uchar data, bool copy_pixels) throws GLib.Error; public Pixbuf.from_stream (GLib.InputStream stream, GLib.Cancellable cancellable) throws GLib.Error; public Pixbuf.from_stream_at_scale (GLib.InputStream stream, int width, int height, bool preserve_aspect_ratio, GLib.Cancellable cancellable) throws GLib.Error; + [NoArrayLength] public Pixbuf.from_xpm_data (string[] data); public Pixbuf.subpixbuf (Gdk.Pixbuf src_pixbuf, int src_x, int src_y, int width, int height); public weak Gdk.Pixbuf rotate_simple (Gdk.PixbufRotation angle); public void saturate_and_pixelate (Gdk.Pixbuf dest, float saturation, bool pixelate); public bool save (string filename, string type, ...) throws GLib.Error; - public bool save_to_buffer (string buffer, ulong buffer_size, string type) throws GLib.Error; + public bool save_to_buffer (string buffer, ulong buffer_size, string type, ...) throws GLib.Error; public bool save_to_bufferv (string buffer, ulong buffer_size, string type, string[] option_keys, string[] option_values) throws GLib.Error; public bool save_to_callback (Gdk.PixbufSaveFunc save_func, string type) throws GLib.Error; public bool save_to_callbackv (Gdk.PixbufSaveFunc save_func, string type, string[] option_keys, string[] option_values) throws GLib.Error; 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 7b3a910..af61b79 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 @@ -1,8 +1,12 @@ Gdk cheader_filename="gdk-pixbuf/gdk-pixdata.h" +gdk_pixbuf_get_pixels no_array_length="1" gdk_pixbuf_new_from_data.destroy_fn nullable="1" gdk_pixbuf_new_from_data.destroy_fn_data hidden="1" +gdk_pixbuf_new_from_data no_array_length="1" gdk_pixbuf_new_from_xpm_data.data is_array="1" +gdk_pixbuf_new_from_xpm_data no_array_length="1" gdk_pixbuf_save ellipsis="1" +gdk_pixbuf_save_to_buffer ellipsis="1" 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" -- 2.7.4