[at-spi2-atk] Have GrabFocus return a bool, per the spec, rather than a uint32



commit 097e268d47d7e35a35175b37c222c13a1aa5f3a9
Author: Mike Gorse <mgorse novell com>
Date:   Tue Feb 7 17:17:43 2012 -0600

    Have GrabFocus return a bool, per the spec, rather than a uint32

 atk-adaptor/adaptors/component-adaptor.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/atk-adaptor/adaptors/component-adaptor.c b/atk-adaptor/adaptors/component-adaptor.c
index d74c764..dd6a4b3 100644
--- a/atk-adaptor/adaptors/component-adaptor.c
+++ b/atk-adaptor/adaptors/component-adaptor.c
@@ -253,7 +253,7 @@ impl_GrabFocus (DBusConnection * bus, DBusMessage * message, void *user_data)
   reply = dbus_message_new_method_return (message);
   if (reply)
     {
-      dbus_message_append_args (reply, DBUS_TYPE_UINT32, &rv,
+      dbus_message_append_args (reply, DBUS_TYPE_BOOLEAN, &rv,
                                 DBUS_TYPE_INVALID);
     }
   return reply;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]