[at-spi2-atk/gnome-3-0] Add GetAtspiVersion
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [at-spi2-atk/gnome-3-0] Add GetAtspiVersion
- Date: Mon, 23 May 2011 23:46:50 +0000 (UTC)
commit 21599f30f324f8b20544fcd93216c3eda8629b74
Author: Mike Gorse <mgorse novell com>
Date: Mon May 23 18:14:21 2011 -0500
Add GetAtspiVersion
atk-adaptor/adaptors/application-adaptor.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/atk-adaptor/adaptors/application-adaptor.c b/atk-adaptor/adaptors/application-adaptor.c
index dd162af..897ed55 100644
--- a/atk-adaptor/adaptors/application-adaptor.c
+++ b/atk-adaptor/adaptors/application-adaptor.c
@@ -43,6 +43,12 @@ impl_get_Version (DBusMessageIter * iter, void *user_data)
return droute_return_v_string (iter, atk_get_toolkit_version ());
}
+static dbus_bool_t
+impl_get_AtspiVersion (DBusMessageIter * iter, void *user_data)
+{
+ return droute_return_v_string (iter, "2.0");
+}
+
static dbus_int32_t id;
static dbus_bool_t
@@ -120,6 +126,7 @@ static DRouteMethod methods[] = {
static DRouteProperty properties[] = {
{impl_get_ToolkitName, NULL, "ToolkitName"},
{impl_get_Version, NULL, "Version"},
+ {impl_get_AtspiVersion, NULL, "AtspiVersion"},
{impl_get_Id, impl_set_Id, "Id"},
{NULL, NULL, NULL}
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]