[gtk/a11y/atspi] atspiroot: Stub out GetRelationSet



commit e269cb7a81eb7d69b2b03bd17deb507c0fea7264
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Oct 10 10:43:07 2020 -0400

    atspiroot: Stub out GetRelationSet
    
    This needs to be fully implemented, for now sending
    an empty relation set back prevents accerciser from
    getting hung up.

 gtk/a11y/gtkatspiroot.c | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/gtk/a11y/gtkatspiroot.c b/gtk/a11y/gtkatspiroot.c
index 5e74bf6d46..3e938d3fa1 100644
--- a/gtk/a11y/gtkatspiroot.c
+++ b/gtk/a11y/gtkatspiroot.c
@@ -331,6 +331,11 @@ handle_accessible_method (GDBusConnection       *connection,
     {
       g_dbus_method_invocation_return_value (invocation, g_variant_new ("(i)", -1));
     }
+  else if (g_strcmp0 (method_name, "GetRelationSet") == 0)
+    {
+      GVariantBuilder builder = G_VARIANT_BUILDER_INIT (G_VARIANT_TYPE ("a(ua(so))"));
+      g_dbus_method_invocation_return_value (invocation, g_variant_new ("(a(ua(so)))", &builder));
+    }
   else if (g_strcmp0 (method_name, "GetInterfaces") == 0)
     {
       GVariantBuilder builder = G_VARIANT_BUILDER_INIT (G_VARIANT_TYPE ("as"));


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