forked from AuroraMiddleware/gtk
a11y: Reuse the generated AT-SPI interface name
We already have the name available.
This commit is contained in:
parent
28095641c5
commit
2d636fdda0
@ -349,8 +349,9 @@ handle_accessible_method (GDBusConnection *connection,
|
||||
{
|
||||
GVariantBuilder builder = G_VARIANT_BUILDER_INIT (G_VARIANT_TYPE ("as"));
|
||||
|
||||
g_variant_builder_add (&builder, "s", "org.a11y.atspi.Accessible");
|
||||
g_variant_builder_add (&builder, "s", "org.a11y.atspi.Application");
|
||||
g_variant_builder_add (&builder, "s", atspi_accessible_interface.name);
|
||||
g_variant_builder_add (&builder, "s", atspi_application_interface.name);
|
||||
|
||||
g_dbus_method_invocation_return_value (invocation, g_variant_new ("(as)", &builder));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user