[gtk/a11y/atspi: 40/43] atspiroot: Fix GetState implementation
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gtk/a11y/atspi: 40/43] atspiroot: Fix GetState implementation
- Date: Mon, 12 Oct 2020 15:06:46 +0000 (UTC)
commit 0c27e44db09c64395da36a389910bb874a4a7fa5
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Oct 9 21:59:57 2020 -0400
    atspiroot: Fix GetState implementation
    
    When the GetState signature says 'au', it actually
    means a bitset that is sent as a pair of 32bit integers.
 gtk/a11y/gtkatspiroot.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/gtk/a11y/gtkatspiroot.c b/gtk/a11y/gtkatspiroot.c
index 4027f1d9f1..2330852a58 100644
--- a/gtk/a11y/gtkatspiroot.c
+++ b/gtk/a11y/gtkatspiroot.c
@@ -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));
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]