From e269cb7a81eb7d69b2b03bd17deb507c0fea7264 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 10 Oct 2020 10:43:07 -0400 Subject: [PATCH] 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"));