[at-spi2-core] Fix atspi_hyperlink_get_(start|end)_index
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [at-spi2-core] Fix atspi_hyperlink_get_(start|end)_index
- Date: Mon, 6 Dec 2010 17:33:31 +0000 (UTC)
commit f1f436c4ea89c509c4ca80e5aef1ea6563009add
Author: Mike Gorse <mgorse novell com>
Date: Mon Dec 6 12:35:34 2010 -0500
Fix atspi_hyperlink_get_(start|end)_index
atspi/atspi-hyperlink.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/atspi/atspi-hyperlink.c b/atspi/atspi-hyperlink.c
index 0be7924..ced8e27 100644
--- a/atspi/atspi-hyperlink.c
+++ b/atspi/atspi-hyperlink.c
@@ -172,7 +172,8 @@ atspi_hyperlink_get_start_index (AtspiHyperlink *obj, GError **error)
if (!obj)
return -1;
- _atspi_dbus_call (obj, atspi_interface_hyperlink, "GetStartIndex", error, "=>i", &d_start_offset);
+ _atspi_dbus_get_property (obj, atspi_interface_hyperlink, "StartIndex",
+ error, "i", &d_start_offset);
return d_start_offset;
}
@@ -192,7 +193,8 @@ atspi_hyperlink_get_end_index (AtspiHyperlink *obj, GError **error)
if (!obj)
return -1;
- _atspi_dbus_call (obj, atspi_interface_hyperlink, "GetEndIndex", error, "=>i", &d_end_offset);
+ _atspi_dbus_get_property (obj, atspi_interface_hyperlink, "EndIndex", error,
+ "i", &d_end_offset);
return d_end_offset;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]