From: Florian Brosch Date: Wed, 9 Jul 2014 17:51:37 +0000 (+0200) Subject: pango: Use [Version] instead of [Deprecated] and [Experimental] X-Git-Tag: 0.31.1~21^2~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6767abe4ad709561969696c9a1b1a68b922e159;p=thirdparty%2Fvala.git pango: Use [Version] instead of [Deprecated] and [Experimental] --- diff --git a/vapi/metadata/Pango-1.0-custom.vala b/vapi/metadata/Pango-1.0-custom.vala index e0b3267bc..067ff3043 100644 --- a/vapi/metadata/Pango-1.0-custom.vala +++ b/vapi/metadata/Pango-1.0-custom.vala @@ -83,22 +83,22 @@ namespace Pango { [CCode (cheader_filename = "pango/pango.h")] public const string VERSION_STRING; - [Deprecated (since = "vala-0.18", replacement = "Pango.AttrType.get_name")] + [Version (deprecated_since = "vala-0.18", replacement = "Pango.AttrType.get_name")] public static unowned string attr_type_get_name (Pango.AttrType type); - [Deprecated (since = "vala-0.18", replacement = "Pango.AttrType.get_name")] + [Version (deprecated_since = "vala-0.18", replacement = "Pango.AttrType.get_name")] public static Pango.AttrType attr_type_register (string name); - [Deprecated (since = "vala-0.18", replacement = "Pango.BidiType.for_unichar")] + [Version (deprecated_since = "vala-0.18", replacement = "Pango.BidiType.for_unichar")] public static Pango.BidiType bidi_type_for_unichar (unichar ch); - [Deprecated (since = "vala-0.18", replacement = "Pango.Gravity.get_for_matrix")] + [Version (deprecated_since = "vala-0.18", replacement = "Pango.Gravity.get_for_matrix")] public static Pango.Gravity gravity_get_for_matrix (Pango.Matrix matrix); - [Deprecated (since = "vala-0.18", replacement = "Pango.Gravity.get_for_script")] + [Version (deprecated_since = "vala-0.18", replacement = "Pango.Gravity.get_for_script")] public static Pango.Gravity gravity_get_for_script (Pango.Script script, Pango.Gravity base_gravity, Pango.GravityHint hint); - [Deprecated (since = "vala-0.18", replacement = "Pango.Gravity.get_for_script_and_width")] + [Version (deprecated_since = "vala-0.18", replacement = "Pango.Gravity.get_for_script_and_width")] public static Pango.Gravity gravity_get_for_script_and_width (Pango.Script script, bool wide, Pango.Gravity base_gravity, Pango.GravityHint hint); - [Deprecated (since = "vala-0.18", replacement = "Pango.Gravity.get_to_rotation")] + [Version (deprecated_since = "vala-0.18", replacement = "Pango.Gravity.get_to_rotation")] public static double gravity_to_rotation (Pango.Gravity gravity); - [Deprecated (since = "vala-0.18", replacement = "Pango.Script.for_unichar")] + [Version (deprecated_since = "vala-0.18", replacement = "Pango.Script.for_unichar")] public static Pango.Script script_for_unichar (unichar ch); - [Deprecated (since = "vala-0.18", replacement = "Pango.Script.get_sample_language")] + [Version (deprecated_since = "vala-0.18", replacement = "Pango.Script.get_sample_language")] public static Pango.Language script_get_sample_language (Pango.Script script); -} \ No newline at end of file +}