From 2d97b4c471b45ec3cf0a7f19bc560d652a2560db Mon Sep 17 00:00:00 2001 From: Luca Bruno Date: Sun, 6 Jun 2010 10:08:57 +0200 Subject: [PATCH] gdk-pixbuf-2.0: add ellipsis to gdk_pixbuf_save_to_callback. Fixes bug 620667. --- vapi/gdk-pixbuf-2.0.vapi | 2 +- vapi/packages/gdk-pixbuf-2.0/gdk-pixbuf-2.0.metadata | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/vapi/gdk-pixbuf-2.0.vapi b/vapi/gdk-pixbuf-2.0.vapi index 21622b192..45667346e 100644 --- a/vapi/gdk-pixbuf-2.0.vapi +++ b/vapi/gdk-pixbuf-2.0.vapi @@ -50,7 +50,7 @@ namespace Gdk { public bool save (string filename, string type, ...) throws GLib.Error; public bool save_to_buffer ([CCode (array_length_type = "gsize")] out char[] buffer, string type, ...) throws GLib.Error; public bool save_to_bufferv ([CCode (array_length_type = "gsize")] out char[] buffer, 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_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; public bool save_to_stream (GLib.OutputStream stream, string type, GLib.Cancellable cancellable) throws GLib.Error; public bool savev (string filename, string type, out unowned string option_keys, out unowned 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 0e10878c7..1f08d484b 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 @@ -13,6 +13,7 @@ gdk_pixbuf_new_from_inline.data is_array="1" no_array_length="1" gdk_pixbuf_save ellipsis="1" gdk_pixbuf_save_to_buffer hidden="1" gdk_pixbuf_save_to_bufferv hidden="1" +gdk_pixbuf_save_to_callback ellipsis="1" gdk_pixbuf_save_to_callbackv.option_keys is_array="1" gdk_pixbuf_save_to_callbackv.option_values is_array="1" gdk_pixbuf_scale_simple transfer_ownership="1" -- 2.47.3