diff options
author | Alejandro Piñeiro <apinheiro@igalia.com> | 2013-08-19 16:41:50 +0200 |
---|---|---|
committer | Alejandro Piñeiro <apinheiro@igalia.com> | 2013-08-19 16:41:50 +0200 |
commit | 6580186f3017ff3fa8488582b43ebd2c90b88d4b (patch) | |
tree | 03c54b9a4a77dd17caa0a37e766b0147e38c1d22 | |
parent | 1a22f3935a29dc09b84341c297246575488d4e3a (diff) | |
download | atk-6580186f3017ff3fa8488582b43ebd2c90b88d4b.tar.gz |
atktext: Fixing some typos on atk_text_get_text_at_offset deprecation
Also updated atk_text_get_text_[before/after]_offset deprecation
and documentation.
-rwxr-xr-x | atk/atktext.c | 7 | ||||
-rwxr-xr-x | atk/atktext.h | 6 |
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, |