From: Florian Brosch Date: Wed, 9 Jul 2014 19:18:48 +0000 (+0200) Subject: gdk-pixbuf-2.0: Use [Version] instead of [Deprecated] and [Experimental] X-Git-Tag: 0.31.1~21^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=892454b689621356da5ed2a8632e374592e46d24;p=thirdparty%2Fvala.git gdk-pixbuf-2.0: Use [Version] instead of [Deprecated] and [Experimental] --- diff --git a/vapi/metadata/GdkPixbuf-2.0-custom.vala b/vapi/metadata/GdkPixbuf-2.0-custom.vala index b34ecdf64..fe5b3efb0 100644 --- a/vapi/metadata/GdkPixbuf-2.0-custom.vala +++ b/vapi/metadata/GdkPixbuf-2.0-custom.vala @@ -4,10 +4,10 @@ namespace Gdk { public Pixbuf.from_data ([CCode (array_length = false)] owned uint8[] data, Gdk.Colorspace colorspace, bool has_alpha, int bits_per_sample, int width, int height, int rowstride, [CCode (type = "GdkPixbufDestroyNotify")] Gdk.PixbufDestroyNotify? destroy_fn = GLib.free); [CCode (has_construct_function = false, cname = "gdk_pixbuf_new_from_data")] public Pixbuf.with_unowned_data ([CCode (array_length = false)] uint8[] data, Gdk.Colorspace colorspace, bool has_alpha, int bits_per_sample, int width, int height, int rowstride, [CCode (type = "GdkPixbufDestroyNotify")] Gdk.PixbufDestroyNotify? destroy_fn = null); - [Deprecated (since = "vala-0.18", replacement = "Pixbuf.from_stream_async")] + [Version (deprecated_since = "vala-0.18", replacement = "Pixbuf.from_stream_async")] [CCode (cname = "gdk_pixbuf_new_from_stream_async", finish_name = "gdk_pixbuf_new_from_stream_finish")] public static async Gdk.Pixbuf new_from_stream_async (GLib.InputStream stream, GLib.Cancellable? cancellable = null) throws GLib.Error; - [Deprecated (since = "vala-0.18", replacement = "Pixbuf.from_stream_at_scale_async")] + [Version (deprecated_since = "vala-0.18", replacement = "Pixbuf.from_stream_at_scale_async")] [CCode (cname = "gdk_pixbuf_new_from_stream_at_scale_async", finish_name = "gdk_pixbuf_new_from_stream_finish")] public static async Gdk.Pixbuf new_from_stream_at_scale_async (GLib.InputStream stream, int width, int height, bool preserve_aspect_ratio, GLib.Cancellable? cancellable = null) throws GLib.Error; [CCode (cname = "gdk_pixbuf_new_from_stream_at_scale_async", finish_name = "gdk_pixbuf_new_from_stream_finish")]