[at-spi2-core] Fix atspi_accessible_get_description
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [at-spi2-core] Fix atspi_accessible_get_description
- Date: Tue, 28 Dec 2010 11:40:05 +0000 (UTC)
commit 5e4e37ec0a1a20a80ff2d3ec855a70146e76e10c
Author: Mike Gorse <mgorse novell com>
Date: Tue Dec 28 06:42:35 2010 -0500
Fix atspi_accessible_get_description
atspi/atspi-accessible.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/atspi/atspi-accessible.c b/atspi/atspi-accessible.c
index edc12f1..2a00d36 100644
--- a/atspi/atspi-accessible.c
+++ b/atspi/atspi-accessible.c
@@ -269,7 +269,9 @@ atspi_accessible_get_description (AtspiAccessible *obj, GError **error)
if (!(obj->cached_properties & ATSPI_CACHE_DESCRIPTION))
{
- if (!_atspi_dbus_call (obj, atspi_interface_accessible, "GetDescription", NULL, "=>s", &obj->description))
+ if (!_atspi_dbus_get_property (obj, atspi_interface_accessible,
+ "Description", error, "s",
+ &obj->description))
return g_strdup ("");
obj->cached_properties |= ATSPI_CACHE_DESCRIPTION;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]