Fix atspi_text_get_default_attributes
authorMike Gorse <mgorse@novell.com>
Mon, 6 Dec 2010 22:38:43 +0000 (17:38 -0500)
committerMike Gorse <mgorse@novell.com>
Thu, 9 Dec 2010 21:13:38 +0000 (16:13 -0500)
atspi/atspi-accessible.c
atspi/atspi-text.c
atspi/atspi-text.h

index 9e5c503..c4927bd 100644 (file)
@@ -1096,7 +1096,7 @@ atspi_accessible_get_table (AtspiAccessible *obj)
  * Get the #AtspiTable interface for an #AtspiAccessible.
  *
  * Returns: (transfer full): a pointer to an #AtspiText interface instance, or
- *          NULL if @obj does not implement #AtspiTable.
+ *          NULL if @obj does not implement #AtspiText.
  **/
 AtspiText *
 atspi_accessible_get_text (AtspiAccessible *obj)
index dcc0009..99b72b6 100644 (file)
@@ -300,7 +300,7 @@ atspi_text_get_attribute_value (AtspiText *obj,
  *          (exclusive of explicitly-set attributes), encoded as UTF-8.
  **/
 GHashTable *
-atspi_text_get_default_attributes (AtspiAccessible *obj, GError **error)
+atspi_text_get_default_attributes (AtspiText *obj, GError **error)
 {
   DBusMessage *reply;
   GHashTable *ret;
index 4062950..ce42e56 100644 (file)
@@ -109,7 +109,7 @@ AtspiRangedAttributeSet * atspi_text_get_attribute_run (AtspiText *obj, gint off
 
 gchar * atspi_text_get_attribute_value (AtspiText *obj, gint offset, gchar *attribute_name, GError **error);
 
-GHashTable * atspi_text_get_default_attributes (AtspiAccessible *obj, GError **error);
+GHashTable * atspi_text_get_default_attributes (AtspiText *obj, GError **error);
 
 gboolean atspi_text_set_caret_offset (AtspiText *obj, gint new_offset, GError **error);