]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gdk-pixbuf-2.0: Use [Version] instead of [Deprecated] and [Experimental]
authorFlorian Brosch <flo.brosch@gmail.com>
Wed, 9 Jul 2014 19:18:48 +0000 (21:18 +0200)
committerLuca Bruno <lucabru@src.gnome.org>
Sat, 30 Jan 2016 13:48:32 +0000 (14:48 +0100)
vapi/metadata/GdkPixbuf-2.0-custom.vala

index b34ecdf645e08f9b26b51896ddeae33ae4876cba..fe5b3efb0ccd337769460cc52bd74e1c4f5816dd 100644 (file)
@@ -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")]