atktext: Fixing some typos on atk_text_get_text_at_offset deprecation
authorAlejandro Piñeiro <apinheiro@igalia.com>
Mon, 19 Aug 2013 14:41:50 +0000 (16:41 +0200)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Mon, 19 Aug 2013 14:41:50 +0000 (16:41 +0200)
Also updated atk_text_get_text_[before/after]_offset deprecation
and documentation.

atk/atktext.c
atk/atktext.h

index 8e6b9c3..d55f5de 100755 (executable)
@@ -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.
index 96bd28b..dd73200 100755 (executable)
@@ -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,