]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
pango: Drop vala-specific deprecations <= vala-0.22
authorRico Tzschichholz <ricotz@ubuntu.com>
Wed, 30 May 2018 09:23:23 +0000 (11:23 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Wed, 30 May 2018 09:27:07 +0000 (11:27 +0200)
vapi/metadata/Pango-1.0-custom.vala
vapi/pango.vapi

index 067ff3043b325d2d7d20d6d63fdf2215ffceff5f..e246a4bcd5ce3bc0f2e5444dcce578cab2144eef 100644 (file)
@@ -82,23 +82,4 @@ namespace Pango {
        public const int VERSION_MINOR;
        [CCode (cheader_filename = "pango/pango.h")]
        public const string VERSION_STRING;
-
-       [Version (deprecated_since = "vala-0.18", replacement = "Pango.AttrType.get_name")]
-       public static unowned string attr_type_get_name (Pango.AttrType type);
-       [Version (deprecated_since = "vala-0.18", replacement = "Pango.AttrType.get_name")]
-       public static Pango.AttrType attr_type_register (string name);
-       [Version (deprecated_since = "vala-0.18", replacement = "Pango.BidiType.for_unichar")]
-       public static Pango.BidiType bidi_type_for_unichar (unichar ch);
-       [Version (deprecated_since = "vala-0.18", replacement = "Pango.Gravity.get_for_matrix")]
-       public static Pango.Gravity gravity_get_for_matrix (Pango.Matrix matrix);
-       [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);
-       [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);
-       [Version (deprecated_since = "vala-0.18", replacement = "Pango.Gravity.get_to_rotation")]
-       public static double gravity_to_rotation (Pango.Gravity gravity);
-       [Version (deprecated_since = "vala-0.18", replacement = "Pango.Script.for_unichar")]
-       public static Pango.Script script_for_unichar (unichar ch);
-       [Version (deprecated_since = "vala-0.18", replacement = "Pango.Script.get_sample_language")]
-       public static Pango.Language script_get_sample_language (Pango.Script script);
 }
index ae322a253798ef55831fd343818d2990caa3cf1b..6589df75c9bea6a0aec88b38cb27ef461d490ce8 100644 (file)
@@ -1133,12 +1133,6 @@ namespace Pango {
        [CCode (cheader_filename = "pango/pango.h")]
        public static Pango.Attribute attr_style_new (Pango.Style style);
        [CCode (cheader_filename = "pango/pango.h")]
-       [Version (deprecated_since = "vala-0.18", replacement = "Pango.AttrType.get_name")]
-       public static unowned string attr_type_get_name (Pango.AttrType type);
-       [CCode (cheader_filename = "pango/pango.h")]
-       [Version (deprecated_since = "vala-0.18", replacement = "Pango.AttrType.get_name")]
-       public static Pango.AttrType attr_type_register (string name);
-       [CCode (cheader_filename = "pango/pango.h")]
        [Version (since = "1.8")]
        public static Pango.Attribute attr_underline_color_new (uint16 red, uint16 green, uint16 blue);
        [CCode (cheader_filename = "pango/pango.h")]
@@ -1148,9 +1142,6 @@ namespace Pango {
        [CCode (cheader_filename = "pango/pango.h")]
        public static Pango.Attribute attr_weight_new (Pango.Weight weight);
        [CCode (cheader_filename = "pango/pango.h")]
-       [Version (deprecated_since = "vala-0.18", replacement = "Pango.BidiType.for_unichar")]
-       public static Pango.BidiType bidi_type_for_unichar (unichar ch);
-       [CCode (cheader_filename = "pango/pango.h")]
        public static void @break (string text, int length, Pango.Analysis analysis, [CCode (array_length_cname = "attrs_len", array_length_pos = 4.1)] Pango.LogAttr[] attrs);
        [CCode (cheader_filename = "pango/pango.h")]
        [Version (deprecated = true, deprecated_since = "1.38")]
@@ -1179,18 +1170,6 @@ namespace Pango {
        [Version (deprecated = true, deprecated_since = "1.38")]
        public static unowned string get_sysconf_subdirectory ();
        [CCode (cheader_filename = "pango/pango.h")]
-       [Version (deprecated_since = "vala-0.18", replacement = "Pango.Gravity.get_for_matrix")]
-       public static Pango.Gravity gravity_get_for_matrix (Pango.Matrix matrix);
-       [CCode (cheader_filename = "pango/pango.h")]
-       [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);
-       [CCode (cheader_filename = "pango/pango.h")]
-       [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);
-       [CCode (cheader_filename = "pango/pango.h")]
-       [Version (deprecated_since = "vala-0.18", replacement = "Pango.Gravity.get_to_rotation")]
-       public static double gravity_to_rotation (Pango.Gravity gravity);
-       [CCode (cheader_filename = "pango/pango.h")]
        [Version (since = "1.10")]
        public static bool is_zero_width (unichar ch);
        [CCode (cheader_filename = "pango/pango.h")]
@@ -1241,12 +1220,6 @@ namespace Pango {
        [Version (deprecated = true, deprecated_since = "1.38")]
        public static bool scan_word (ref string pos, out unowned GLib.StringBuilder @out);
        [CCode (cheader_filename = "pango/pango.h")]
-       [Version (deprecated_since = "vala-0.18", replacement = "Pango.Script.for_unichar")]
-       public static Pango.Script script_for_unichar (unichar ch);
-       [CCode (cheader_filename = "pango/pango.h")]
-       [Version (deprecated_since = "vala-0.18", replacement = "Pango.Script.get_sample_language")]
-       public static Pango.Language script_get_sample_language (Pango.Script script);
-       [CCode (cheader_filename = "pango/pango.h")]
        public static void shape (string text, int length, Pango.Analysis analysis, Pango.GlyphString glyphs);
        [CCode (cheader_filename = "pango/pango.h")]
        [Version (since = "1.32")]