From: Matthias Clasen Date: Sat, 17 Jun 2023 18:48:18 +0000 (-0400) Subject: inspector: Realize AT ontexts X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~22^2~1^2~135^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=158a3d4f04edb9f34e9e0d3f5c4405fdf3d032c0;p=gtk4.git inspector: Realize AT ontexts Otherwise we don't get change notification... --- diff --git a/gtk/inspector/a11y.c b/gtk/inspector/a11y.c index e06e767bea..c07b4f0290 100644 --- 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); }