atspiroot: Fix GetState implementation

When the GetState signature says 'au', it actually
means a bitset that is sent as a pair of 32bit integers.
This commit is contained in:
Matthias Clasen 2020-10-09 21:59:57 -04:00 committed by Emmanuele Bassi
parent 762fbf34fc
commit e189ccc8ed

View File

@ -248,6 +248,7 @@ handle_accessible_method (GDBusConnection *connection,
g_variant_builder_open (&builder, G_VARIANT_TYPE ("au"));
g_variant_builder_add (&builder, "u", 0);
g_variant_builder_add (&builder, "u", 0);
g_variant_builder_close (&builder);
g_dbus_method_invocation_return_value (invocation, g_variant_builder_end (&builder));