diff options
author | Joanmarie Diggs <[email protected]> | 2014-02-25 11:16:35 -0500 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-11-27 10:13:51 +0100 |
commit | 94bbe7253d986f5eb337082e2aeeadfa442778a8 (patch) | |
tree | 6f8753f0efe661a916d2bd1a4da379e9598146d5 /libview/ev-view-accessible.c | |
parent | 61436664b37b07487cfb9c22ab146a486de91300 (diff) | |
download | atril-94bbe7253d986f5eb337082e2aeeadfa442778a8.tar.bz2 atril-94bbe7253d986f5eb337082e2aeeadfa442778a8.tar.xz |
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
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-12&id=b327461
Diffstat (limited to 'libview/ev-view-accessible.c')
-rw-r--r-- | 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 80f08e5d..26a2554c 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) { @@ -897,9 +871,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; |