[gtk/ebassi/for-master: 1/9] a11y: Use the appropriate GVariant for cache signals
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/ebassi/for-master: 1/9] a11y: Use the appropriate GVariant for cache signals
- Date: Thu, 19 Nov 2020 14:48:42 +0000 (UTC)
commit 28095641c5779a042f6508bee99416fe09c9073a
Author: Emmanuele Bassi <ebassi gnome org>
Date: Thu Nov 19 12:14:55 2020 +0000
a11y: Use the appropriate GVariant for cache signals
We need to wrap the argument for AddAccessible and RemoveAccessible into
a tuple, as that's what GDBus expects.
gtk/a11y/gtkatspicache.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gtk/a11y/gtkatspicache.c b/gtk/a11y/gtkatspicache.c
index 31172d2cb6..880a64cc5c 100644
--- a/gtk/a11y/gtkatspicache.c
+++ b/gtk/a11y/gtkatspicache.c
@@ -185,7 +185,8 @@ emit_add_accessible (GtkAtSpiCache *self,
self->cache_path,
"org.a11y.atspi.Cache",
"AddAccessible",
- g_variant_builder_end (&builder),
+ g_variant_new ("(@(" ITEM_SIGNATURE "))",
+ g_variant_builder_end (&builder)),
NULL);
}
@@ -198,7 +199,7 @@ emit_remove_accessible (GtkAtSpiCache *self,
self->cache_path,
"org.a11y.atspi.Cache",
"RemoveAccessible",
- ref,
+ g_variant_new ("(@(so))", ref),
NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]