[gtk/ebassi/for-master: 3/14] a11y: Realize parent ATContext for the stack page
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/ebassi/for-master: 3/14] a11y: Realize parent ATContext for the stack page
- Date: Wed, 11 Nov 2020 18:33:35 +0000 (UTC)
commit 65d29e00c7024aa21a7fe15d7fcda6fc7242af8c
Author: Emmanuele Bassi <ebassi gnome org>
Date: Wed Nov 11 17:45:32 2020 +0000
a11y: Realize parent ATContext for the stack page
Just like for popovers, the stack page is not directly connected on the
widget's DOM, so we need to realize the parent ATContext ourselves.
gtk/a11y/gtkatspicontext.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/gtk/a11y/gtkatspicontext.c b/gtk/a11y/gtkatspicontext.c
index 98bde0a0e7..8a83ed838d 100644
--- a/gtk/a11y/gtkatspicontext.c
+++ b/gtk/a11y/gtkatspicontext.c
@@ -411,7 +411,11 @@ get_parent_context_ref (GtkAccessible *accessible)
gtk_accessible_get_at_context (GTK_ACCESSIBLE (page));
if (parent_context != NULL)
- res = gtk_at_spi_context_to_ref (GTK_AT_SPI_CONTEXT (parent_context));
+ {
+ gtk_at_context_realize (parent_context);
+
+ res = gtk_at_spi_context_to_ref (GTK_AT_SPI_CONTEXT (parent_context));
+ }
}
else
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]