summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Brosch <flo.brosch@gmail.com>2014-07-09 21:15:08 +0200
committerLuca Bruno <lucabru@src.gnome.org>2014-12-25 14:00:13 +0100
commitda39744f54f4b78c79f81baa0d1d4890d2ef178c (patch)
tree7a6eb0d29e0f2b268668b6827f457d7b22aa1f49
parent41969ecc1fdb0edf7f2d30d9ee3b51473e0f195a (diff)
downloadvala-da39744f54f4b78c79f81baa0d1d4890d2ef178c.tar.gz
librsvg-2.0: Use [Version] instead of [Deprecated] and [Experimental]
-rw-r--r--vapi/metadata/Rsvg-2.0-custom.vala26
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 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 ();
}