[vala/x-version: 11/22] pango: Use [Version] instead of [Deprecated] and [Experimental]



commit 3fede3e36b795cb6f2cad286f51a3940284732f7
Author: Florian Brosch <flo brosch gmail com>
Date:   Wed Jul 9 19:51:37 2014 +0200

    pango: Use [Version] instead of [Deprecated] and [Experimental]

 vapi/metadata/Pango-1.0-custom.vala |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/vapi/metadata/Pango-1.0-custom.vala b/vapi/metadata/Pango-1.0-custom.vala
index e0b3267..067ff30 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
+}


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