[at-spi2-atk] Fix for bug #679013 - AtspiCollection should be implemented for all containers



commit 4a95bdda0d2113767c7d4665727edef2ca45ef68
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Wed Jun 27 17:42:25 2012 -0400

    Fix for bug #679013 - AtspiCollection should be implemented for all containers

 atk-adaptor/object.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/atk-adaptor/object.c b/atk-adaptor/object.c
index 4240a66..1e66dd9 100644
--- a/atk-adaptor/object.c
+++ b/atk-adaptor/object.c
@@ -286,10 +286,14 @@ spi_object_append_interfaces (DBusMessageIter * iter, AtkObject * obj)
     }
 #endif
 
-  if (ATK_IS_DOCUMENT (obj))
+  if (ATK_IS_OBJECT (obj))
     {
       itf = "org.a11y.atspi.Collection";
       dbus_message_iter_append_basic (iter, DBUS_TYPE_STRING, &itf);
+    }
+
+  if (ATK_IS_DOCUMENT (obj))
+    {
       itf = ATSPI_DBUS_INTERFACE_DOCUMENT;
       dbus_message_iter_append_basic (iter, DBUS_TYPE_STRING, &itf);
     }



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