summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Sanchez Prada <msanchez@gnome.org>2015-01-19 17:56:34 +0000
committerMario Sanchez Prada <msanchez@gnome.org>2015-01-21 09:53:27 +0000
commitea7a3778d5714f311fb61ad8b40e8e37205f3206 (patch)
treecdc825357d8d652c43468607b5417836946af2b4
parentbebceaa0c53252aaff54daf4219c3f9ad3c89daa (diff)
downloadat-spi2-core-ea7a3778d5714f311fb61ad8b40e8e37205f3206.tar.gz
Deprecate atspi_text_get_text_{before,at,after}_offset()
https://bugzilla.gnome.org/show_bug.cgi?id=697969
-rw-r--r--atspi/atspi-text.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/atspi/atspi-text.h b/atspi/atspi-text.h
index a73ea165..8e11eb03 100644
--- a/atspi/atspi-text.h
+++ b/atspi/atspi-text.h
@@ -107,15 +107,15 @@ GHashTable * atspi_text_get_default_attributes (AtspiText *obj, GError **error);
gboolean atspi_text_set_caret_offset (AtspiText *obj, gint new_offset, GError **error);
+#ifndef ATSPI_DISABLE_DEPRECATED
AtspiTextRange * atspi_text_get_text_before_offset (AtspiText *obj, gint offset, AtspiTextBoundaryType type, GError **error);
-AtspiTextRange * atspi_text_get_string_at_offset (AtspiText *obj, gint offset, AtspiTextGranularity granularity, GError **error);
-
-#ifndef ATSPI_DISABLE_DEPRECATED
AtspiTextRange * atspi_text_get_text_at_offset (AtspiText *obj, gint offset, AtspiTextBoundaryType type, GError **error);
-#endif
AtspiTextRange * atspi_text_get_text_after_offset (AtspiText *obj, gint offset, AtspiTextBoundaryType type, GError **error);
+#endif
+
+AtspiTextRange * atspi_text_get_string_at_offset (AtspiText *obj, gint offset, AtspiTextGranularity granularity, GError **error);
guint atspi_text_get_character_at_offset (AtspiText *obj, gint offset, GError **error);