gtkatspiselection: Retrieve the correct GtkNotebook tab widget

A typo resulted in the tab container widget being retrieved instead of
the tab widget. If an adjacent action widget was present, an infinite
loop occurred when switching tabs while a screen reader was enabled.
This commit is contained in:
Mat 2022-08-28 16:51:31 +03:00
parent 2ca86eb969
commit 3e5bbfb2a5

View File

@ -864,7 +864,7 @@ notebook_handle_method (GDBusConnection *connection,
for (child = gtk_widget_get_first_child (widget);
child;
child = gtk_widget_get_next_sibling (widget))
child = gtk_widget_get_next_sibling (child))
{
/* skip actions */
if (gtk_accessible_get_accessible_role (GTK_ACCESSIBLE (child)) != GTK_ACCESSIBLE_ROLE_TAB)