summaryrefslogtreecommitdiff
path: root/atspi/atspi-text.c
diff options
context:
space:
mode:
Diffstat (limited to 'atspi/atspi-text.c')
-rw-r--r--atspi/atspi-text.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/atspi/atspi-text.c b/atspi/atspi-text.c
index 48e62913..c9161501 100644
--- a/atspi/atspi-text.c
+++ b/atspi/atspi-text.c
@@ -308,7 +308,7 @@ atspi_text_get_attribute_run (AtspiText *obj,
gchar *
atspi_text_get_attribute_value (AtspiText *obj,
gint offset,
- gchar *attribute_name,
+ const gchar *attribute_name,
GError **error)
{
return atspi_text_get_text_attribute_value (obj, offset, attribute_name,
@@ -329,7 +329,7 @@ atspi_text_get_attribute_value (AtspiText *obj,
gchar *
atspi_text_get_text_attribute_value (AtspiText *obj,
gint offset,
- gchar *attribute_name,
+ const gchar *attribute_name,
GError **error)
{
gchar *retval = NULL;
@@ -337,7 +337,7 @@ atspi_text_get_text_attribute_value (AtspiText *obj,
g_return_val_if_fail (obj != NULL, NULL);
- _atspi_dbus_call (obj, atspi_interface_text, "GetAttributeValue", error, "is=>s", d_i, (const gchar *) attribute_name, &retval);
+ _atspi_dbus_call (obj, atspi_interface_text, "GetAttributeValue", error, "is=>s", d_i, attribute_name, &retval);
if (!retval)
retval = g_strdup ("");