projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efeff41
)
inspector: Realize AT ontexts
author
Matthias Clasen
<mclasen@redhat.com>
Sat, 17 Jun 2023 18:48:18 +0000
(14:48 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sat, 17 Jun 2023 18:50:01 +0000
(14:50 -0400)
Otherwise we don't get change notification...
gtk/inspector/a11y.c
patch
|
blob
|
history
diff --git
a/gtk/inspector/a11y.c
b/gtk/inspector/a11y.c
index e06e767bea27ab7d462b904563bd008c7a4998ae..c07b4f0290b2ce923eda03dddbc90858995982cf 100644
(file)
--- a/
gtk/inspector/a11y.c
+++ b/
gtk/inspector/a11y.c
@@
-486,6
+486,7
@@
gtk_inspector_a11y_set_object (GtkInspectorA11y *sl,
context = gtk_accessible_get_at_context (GTK_ACCESSIBLE (sl->object));
if (context != NULL)
{
+ gtk_at_context_realize (context);
g_signal_connect_swapped (context, "state-change", G_CALLBACK (refresh_all), sl);
g_object_unref (context);
}