forked from AuroraMiddleware/gtk
atspiroot: Implement GetIndexInParent
Just for good measure
This commit is contained in:
parent
9f73638d43
commit
762fbf34fc
@ -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 *
|
||||
|
Loading…
Reference in New Issue
Block a user