[vala/wip/x-version: 16/24] gdk-pixbuf-2.0: Use [Version] instead of [Deprecated] and [Experimental]



commit 3a90463bacca57f922933a1e76135101538194fa
Author: Florian Brosch <flo brosch gmail com>
Date:   Wed Jul 9 21:18:48 2014 +0200

    gdk-pixbuf-2.0: Use [Version] instead of [Deprecated] and [Experimental]

 vapi/metadata/GdkPixbuf-2.0-custom.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/vapi/metadata/GdkPixbuf-2.0-custom.vala b/vapi/metadata/GdkPixbuf-2.0-custom.vala
index b34ecdf..fe5b3ef 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")]


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]