From: Rico Tzschichholz Date: Wed, 9 Jan 2019 15:28:59 +0000 (+0100) Subject: atk: Drop superfluous metadata X-Git-Tag: 0.43.5~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a57b29c44eee976119286b44d5c57cc445217f4;p=thirdparty%2Fvala.git atk: Drop superfluous metadata --- diff --git a/vapi/atk.vapi b/vapi/atk.vapi index aeb811811..b659c5eb7 100644 --- a/vapi/atk.vapi +++ b/vapi/atk.vapi @@ -476,7 +476,7 @@ namespace Atk { public abstract bool add_selection (int start_offset, int end_offset); [Version (since = "1.3")] public static void free_ranges ([CCode (array_length = false)] Atk.TextRange[] ranges); - [CCode (array_length = false, array_null_terminated = true, cname = "atk_text_get_bounded_ranges")] + [CCode (array_length = false, array_null_terminated = true)] [Version (since = "1.3")] public virtual Atk.TextRange[] get_bounded_ranges (Atk.TextRectangle rect, Atk.CoordType coord_type, Atk.TextClipType x_clip_type, Atk.TextClipType y_clip_type); public abstract int get_caret_offset (); diff --git a/vapi/metadata/Atk-1.0-custom.vala b/vapi/metadata/Atk-1.0-custom.vala index 82a372713..1ac8a121c 100644 --- a/vapi/metadata/Atk-1.0-custom.vala +++ b/vapi/metadata/Atk-1.0-custom.vala @@ -8,9 +8,4 @@ namespace Atk { [Version (deprecated = true)] public weak GLib.HashTable factory_type_registry; } - public interface Text : GLib.Object { - [Version (since = "1.3")] - [CCode (array_length = false, array_null_terminated = true, cname = "atk_text_get_bounded_ranges")] - public virtual Atk.TextRange[] get_bounded_ranges (Atk.TextRectangle rect, Atk.CoordType coord_type, Atk.TextClipType x_clip_type, Atk.TextClipType y_clip_type); - } } diff --git a/vapi/metadata/Atk-1.0.metadata b/vapi/metadata/Atk-1.0.metadata index b704dc740..2551db59c 100644 --- a/vapi/metadata/Atk-1.0.metadata +++ b/vapi/metadata/Atk-1.0.metadata @@ -32,9 +32,7 @@ Role.edit_bar name="editbar" // G-I doesn't distinguish between abstract and virtual Document.*#virtual_method virtual - -// Can't document callback fields -Text.get_bounded_ranges skip +Text.get_bounded_ranges#virtual_method virtual // Callbacks without user data add_focus_tracker skip=false