diff options
Diffstat (limited to 'vapi/metadata/Rsvg-2.0-custom.vala')
-rw-r--r-- | 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 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 (); } |