[vala/x-version: 18/22] librsvg-2.0: Use [Version] instead of [Deprecated] and [Experimental]



commit 22c0310b56bfecfaa9f8a481b1e584cb86ebc1c9
Author: Florian Brosch <flo brosch gmail com>
Date:   Wed Jul 9 21:15:08 2014 +0200

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

 vapi/metadata/Rsvg-2.0-custom.vala |   26 +++++++++++++-------------
 1 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/vapi/metadata/Rsvg-2.0-custom.vala b/vapi/metadata/Rsvg-2.0-custom.vala
index 46f1a6f..9210a11 100644
--- a/vapi/metadata/Rsvg-2.0-custom.vala
+++ b/vapi/metadata/Rsvg-2.0-custom.vala
@@ -1,14 +1,14 @@
 namespace Rsvg {
        public class Handle : GLib.Object {
-               [Deprecated (since = "2.36")]
+               [Version (deprecated_since = "2.36")]
                public unowned string get_desc ();
-               [Deprecated (replacement = "GLib.Object.unref")]
+               [Version (replacement = "GLib.Object.unref")]
                public void free ();
-               [Deprecated (replacement = "render_cairo")]
+               [Version (replacement = "render_cairo")]
                public void set_size_callback (owned Rsvg.SizeFunc size_func);
-               [Deprecated (since = "2.36")]
+               [Version (deprecated_since = "2.36")]
                public unowned string get_title ();
-               [Deprecated (since = "2.36")]
+               [Version (deprecated_since = "2.36")]
                public unowned string get_metadata ();
        }
 
@@ -17,21 +17,21 @@ namespace Rsvg {
                public static bool check (int major, int minor, int micro);
        }
 
-       [Deprecated]
+       [Version (deprecated = true)]
        public delegate void SizeFunc (ref int width, ref int height);
 
-       [Deprecated (since = "2.36")]
+       [Version (deprecated_since = "2.36")]
        public static void init ();
-       [Deprecated]
+       [Version (deprecated = true)]
        public static Gdk.Pixbuf pixbuf_from_file (string file_name) throws GLib.Error;
-       [Deprecated]
+       [Version (deprecated = true)]
        public static Gdk.Pixbuf pixbuf_from_file_at_max_size (string file_name, int max_width, int 
max_height) throws GLib.Error;
-       [Deprecated]
+       [Version (deprecated = true)]
        public static Gdk.Pixbuf pixbuf_from_file_at_size (string file_name, int width, int height) throws 
GLib.Error;
-       [Deprecated]
+       [Version (deprecated = true)]
        public static Gdk.Pixbuf pixbuf_from_file_at_zoom (string file_name, double x_zoom, double y_zoom) 
throws GLib.Error;
-       [Deprecated]
+       [Version (deprecated = true)]
        public static Gdk.Pixbuf pixbuf_from_file_at_zoom_with_max (string file_name, double x_zoom, double 
y_zoom, int max_width, int max_height) throws GLib.Error;
-       [Deprecated (since = "2.36")]
+       [Version (deprecated_since = "2.36")]
        public static void term ();
 }


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