[at-spi2-core] Fix atspi_text_get_default_attributes
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [at-spi2-core] Fix atspi_text_get_default_attributes
- Date: Thu, 9 Dec 2010 21:11:12 +0000 (UTC)
commit 81cee7da27a7144b0f315adb6e5fadd7fe7956d1
Author: Mike Gorse <mgorse novell com>
Date: Mon Dec 6 17:38:43 2010 -0500
Fix atspi_text_get_default_attributes
atspi/atspi-accessible.c | 2 +-
atspi/atspi-text.c | 2 +-
atspi/atspi-text.h | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/atspi/atspi-accessible.c b/atspi/atspi-accessible.c
index 9e5c503..c4927bd 100644
--- a/atspi/atspi-accessible.c
+++ b/atspi/atspi-accessible.c
@@ -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)
diff --git a/atspi/atspi-text.c b/atspi/atspi-text.c
index dcc0009..99b72b6 100644
--- a/atspi/atspi-text.c
+++ b/atspi/atspi-text.c
@@ -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;
diff --git a/atspi/atspi-text.h b/atspi/atspi-text.h
index 4062950..ce42e56 100644
--- a/atspi/atspi-text.h
+++ b/atspi/atspi-text.h
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]