From: Evan Nemerson Date: Fri, 4 Feb 2011 20:12:06 +0000 (-0800) Subject: gdk-pixbuf-2.0: make return value of Gdk.Pixbuf.flip nullable X-Git-Tag: 0.10.4~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56ad84795e9ab0095423ee02ca55b74a816f8675;p=thirdparty%2Fvala.git gdk-pixbuf-2.0: make return value of Gdk.Pixbuf.flip nullable --- diff --git a/vapi/gdk-pixbuf-2.0.vapi b/vapi/gdk-pixbuf-2.0.vapi index 1b84d0862..d635f2da7 100644 --- a/vapi/gdk-pixbuf-2.0.vapi +++ b/vapi/gdk-pixbuf-2.0.vapi @@ -15,7 +15,7 @@ namespace Gdk { public void copy_area (int src_x, int src_y, int width, int height, Gdk.Pixbuf dest_pixbuf, int dest_x, int dest_y); public static GLib.Quark error_quark (); public void fill (uint32 pixel); - public Gdk.Pixbuf flip (bool horizontal); + public Gdk.Pixbuf? flip (bool horizontal); [CCode (has_construct_function = false)] public Pixbuf.from_data ([CCode (array_length = false)] uchar[] data, Gdk.Colorspace colorspace, bool has_alpha, int bits_per_sample, int width, int height, int rowstride, Gdk.PixbufDestroyNotify? destroy_fn); [CCode (has_construct_function = false)] 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 7020bf3dd..7885bceef 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 @@ -22,7 +22,7 @@ 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" gdk_pixbuf_rotate_simple transfer_ownership="1" -gdk_pixbuf_flip transfer_ownership="1" +gdk_pixbuf_flip nullable="1" transfer_ownership="1" gdk_pixbuf_loader_write.buf no_array_length="1" GdkPixbufDestroyNotify.pixels no_array_length="1" GdkPixbufError errordomain="1"