From: Florian Brosch Date: Wed, 9 Jul 2014 19:15:08 +0000 (+0200) Subject: librsvg-2.0: Use [Version] instead of [Deprecated] and [Experimental] X-Git-Tag: 0.31.1~21^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=376f4fbc9ced03ea21da6ec8e64be07aa7251752;p=thirdparty%2Fvala.git librsvg-2.0: Use [Version] instead of [Deprecated] and [Experimental] --- diff --git a/vapi/metadata/Rsvg-2.0-custom.vala b/vapi/metadata/Rsvg-2.0-custom.vala index 46f1a6fa1..9210a1113 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 (); }