[vala/staging] atk: Drop superfluous metadata
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging] atk: Drop superfluous metadata
- Date: Wed, 9 Jan 2019 19:47:42 +0000 (UTC)
commit 5a57b29c44eee976119286b44d5c57cc445217f4
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Wed Jan 9 16:28:59 2019 +0100
atk: Drop superfluous metadata
vapi/atk.vapi | 2 +-
vapi/metadata/Atk-1.0-custom.vala | 5 -----
vapi/metadata/Atk-1.0.metadata | 4 +---
3 files changed, 2 insertions(+), 9 deletions(-)
---
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<GLib.Type,GLib.Type> 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]