[gtk/a11y/atspi: 39/43] atspiroot: Implement GetIndexInParent
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/a11y/atspi: 39/43] atspiroot: Implement GetIndexInParent
- Date: Mon, 12 Oct 2020 15:06:46 +0000 (UTC)
commit b543693a91420f33e35592a73c2aae9b88c8e7bf
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Oct 9 20:25:38 2020 -0400
atspiroot: Implement GetIndexInParent
Just for good measure
gtk/a11y/gtkatspiroot.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/gtk/a11y/gtkatspiroot.c b/gtk/a11y/gtkatspiroot.c
index 98ba152267..4027f1d9f1 100644
--- a/gtk/a11y/gtkatspiroot.c
+++ b/gtk/a11y/gtkatspiroot.c
@@ -251,7 +251,7 @@ handle_accessible_method (GDBusConnection *connection,
g_variant_builder_close (&builder);
g_dbus_method_invocation_return_value (invocation, g_variant_builder_end (&builder));
- }
+ }
else if (g_strcmp0 (method_name, "GetAttributes") == 0)
{
GVariantBuilder builder = G_VARIANT_BUILDER_INIT (G_VARIANT_TYPE ("(a{ss})"));
@@ -325,6 +325,10 @@ handle_accessible_method (GDBusConnection *connection,
g_dbus_method_invocation_return_value (invocation, g_variant_new ("(a(so))", &builder));
}
+ else if (g_strcmp0 (method_name, "GetIndexInParent") == 0)
+ {
+ g_dbus_method_invocation_return_value (invocation, g_variant_new ("(i)", -1));
+ }
}
static GVariant *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]