summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xatk/atktext.c7
-rwxr-xr-xatk/atktext.h6
2 files changed, 8 insertions, 5 deletions
diff --git a/atk/atktext.c b/atk/atktext.c
index 8e6b9c3..d55f5de 100755
--- a/atk/atktext.c
+++ b/atk/atktext.c
@@ -378,7 +378,7 @@ atk_text_get_character_at_offset (AtkText *text,
* Gets the specified text.
*
* Deprecated: This method is deprecated since ATK version
- * 2.9.3. Please use atk_text_get_at_offset() instead.
+ * 2.9.3. Please use atk_text_get_string_at_offset() instead.
*
* Returns: a newly allocated string containing the text after @offset bounded
* by the specified @boundary_type. Use g_free() to free the returned string.
@@ -450,6 +450,9 @@ atk_text_get_text_after_offset (AtkText *text,
* string is from the line start at or before the offset to the line
* start after the offset.
*
+ * Deprecated: This method is deprecated since ATK version
+ * 2.9.4. Please use atk_text_get_string_at_offset() instead.
+ *
* Returns: a newly allocated string containing the text at @offset bounded by
* the specified @boundary_type. Use g_free() to free the returned string.
**/
@@ -495,7 +498,7 @@ atk_text_get_text_at_offset (AtkText *text,
* Gets the specified text.
*
* Deprecated: This method is deprecated since ATK version
- * 2.9.3. Please use atk_text_get_at_offset() instead.
+ * 2.9.3. Please use atk_text_get_string_at_offset() instead.
*
* Returns: a newly allocated string containing the text before @offset bounded
* by the specified @boundary_type. Use g_free() to free the returned string.
diff --git a/atk/atktext.h b/atk/atktext.h
index 96bd28b..dd73200 100755
--- a/atk/atktext.h
+++ b/atk/atktext.h
@@ -348,19 +348,19 @@ gchar* atk_text_get_text (AtkText *tex
gint end_offset);
gunichar atk_text_get_character_at_offset (AtkText *text,
gint offset);
-G_DEPRECATED_FOR(atk_text_get_text_at_offset)
+G_DEPRECATED_FOR(atk_text_get_string_at_offset)
gchar* atk_text_get_text_after_offset (AtkText *text,
gint offset,
AtkTextBoundary boundary_type,
gint *start_offset,
gint *end_offset);
-G_DEPRECATED_FOR(atk_text_get_text_at_offset)
+G_DEPRECATED_FOR(atk_text_get_string_at_offset)
gchar* atk_text_get_text_at_offset (AtkText *text,
gint offset,
AtkTextBoundary boundary_type,
gint *start_offset,
gint *end_offset);
-G_DEPRECATED_FOR(atk_text_get_text_at_offset)
+G_DEPRECATED_FOR(atk_text_get_string_at_offset)
gchar* atk_text_get_text_before_offset (AtkText *text,
gint offset,
AtkTextBoundary boundary_type,