[evince] Remove support for deprecated atk_text_get_text_{before, after}_offset()
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] Remove support for deprecated atk_text_get_text_{before, after}_offset()
- Date: Tue, 25 Feb 2014 17:27:10 +0000 (UTC)
commit b327461759bd3e876dd5b488facdddf75288a29b
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Tue Feb 25 11:16:35 2014 -0500
Remove support for deprecated atk_text_get_text_{before,after}_offset()
See https://mail.gnome.org/archives/commits-list/2013-June/msg04117.html
for the associated commit to ATK.
https://bugzilla.gnome.org/show_bug.cgi?id=725162
libview/ev-view-accessible.c | 28 ----------------------------
1 files changed, 0 insertions(+), 28 deletions(-)
---
diff --git a/libview/ev-view-accessible.c b/libview/ev-view-accessible.c
index 0412773..53a5dfa 100644
--- a/libview/ev-view-accessible.c
+++ b/libview/ev-view-accessible.c
@@ -259,19 +259,6 @@ ev_view_accessible_get_text_for_offset (EvViewAccessible *view_accessible,
}
static gchar *
-ev_view_accessible_get_text_before_offset (AtkText *text,
- gint offset,
- AtkTextBoundary boundary_type,
- gint *start_offset,
- gint *end_offset)
-{
- return ev_view_accessible_get_text_for_offset (EV_VIEW_ACCESSIBLE (text),
- offset, GAIL_BEFORE_OFFSET,
- boundary_type,
- start_offset, end_offset);
-}
-
-static gchar *
ev_view_accessible_get_text_at_offset (AtkText *text,
gint offset,
AtkTextBoundary boundary_type,
@@ -284,19 +271,6 @@ ev_view_accessible_get_text_at_offset (AtkText *text,
start_offset, end_offset);
}
-static gchar *
-ev_view_accessible_get_text_after_offset (AtkText *text,
- gint offset,
- AtkTextBoundary boundary_type,
- gint *start_offset,
- gint *end_offset)
-{
- return ev_view_accessible_get_text_for_offset (EV_VIEW_ACCESSIBLE (text),
- offset, GAIL_AFTER_OFFSET,
- boundary_type,
- start_offset, end_offset);
-}
-
static gint
ev_view_accessible_get_character_count (AtkText *text)
{
@@ -901,9 +875,7 @@ ev_view_accessible_text_iface_init (AtkTextIface * iface)
{
iface->get_text = ev_view_accessible_get_text;
iface->get_character_at_offset = ev_view_accessible_get_character_at_offset;
- iface->get_text_before_offset = ev_view_accessible_get_text_before_offset;
iface->get_text_at_offset = ev_view_accessible_get_text_at_offset;
- iface->get_text_after_offset = ev_view_accessible_get_text_after_offset;
iface->get_caret_offset = ev_view_accessible_get_caret_offset;
iface->set_caret_offset = ev_view_accessible_set_caret_offset;
iface->get_character_count = ev_view_accessible_get_character_count;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]