summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gorse <mgorse@suse.com>2023-04-02 14:35:42 -0500
committerMike Gorse <mgorse@suse.com>2023-04-02 14:35:42 -0500
commit9870a49c756b672c42a730effd8d6bb37221ba8c (patch)
treed9db3abaafb04cab0653514d4d949fa405c7e80d
parent8ac74a0842310acd8bc0fc12bccc66a49ce1f922 (diff)
downloadat-spi2-core-9870a49c756b672c42a730effd8d6bb37221ba8c.tar.gz
Fix a variable name
-rw-r--r--atspi/atspi-text.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/atspi/atspi-text.c b/atspi/atspi-text.c
index daec9a6f..48e62913 100644
--- a/atspi/atspi-text.c
+++ b/atspi/atspi-text.c
@@ -308,10 +308,10 @@ atspi_text_get_attribute_run (AtspiText *obj,
gchar *
atspi_text_get_attribute_value (AtspiText *obj,
gint offset,
- gchar *attribute_value,
+ gchar *attribute_name,
GError **error)
{
- return atspi_text_get_text_attribute_value (obj, offset, attribute_value,
+ return atspi_text_get_text_attribute_value (obj, offset, attribute_name,
error);
}
@@ -329,7 +329,7 @@ atspi_text_get_attribute_value (AtspiText *obj,
gchar *
atspi_text_get_text_attribute_value (AtspiText *obj,
gint offset,
- gchar *attribute_value,
+ 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_value, &retval);
+ _atspi_dbus_call (obj, atspi_interface_text, "GetAttributeValue", error, "is=>s", d_i, (const gchar *) attribute_name, &retval);
if (!retval)
retval = g_strdup ("");