Merge branch 'master' into 'master'

a11y: Send correct object reference for the root accessible

See merge request GNOME/gtk!3800
This commit is contained in:
Emmanuele Bassi 2021-08-20 13:18:37 +00:00
commit 12c5518e2b

View File

@ -773,10 +773,9 @@ gtk_at_spi_root_to_ref (GtkAtSpiRoot *self)
{
g_return_val_if_fail (GTK_IS_AT_SPI_ROOT (self), NULL);
if (self->desktop_path == NULL)
return gtk_at_spi_null_ref ();
return g_variant_new ("(so)", self->desktop_name, self->desktop_path);
return g_variant_new ("(so)",
g_dbus_connection_get_unique_name (self->connection),
self->root_path);
}
const char *