[at-spi2-atk] Add GetAtspiVersion



commit 105a835d32fcf5e2fae1c5e169df5031a190d150
Author: Mike Gorse <mgorse novell com>
Date:   Mon May 23 18:13:52 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]