diff options
author | Mat <mail@mathias.is> | 2022-08-28 16:51:31 +0300 |
---|---|---|
committer | Mat <mail@mathias.is> | 2022-08-28 17:02:01 +0300 |
commit | df40efd50d1f32cc457d76bd112d5622633eddcc (patch) | |
tree | 2c4bab55f9cc8f3495b18eba6c1c983505786a6e /gtk/a11y | |
parent | db5868d89b1d1c96db8b35894786c6419ba64d17 (diff) | |
download | gtk+-df40efd50d1f32cc457d76bd112d5622633eddcc.tar.gz |
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.
Diffstat (limited to 'gtk/a11y')
-rw-r--r-- | gtk/a11y/gtkatspiselection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/a11y/gtkatspiselection.c b/gtk/a11y/gtkatspiselection.c index adfdbf021a..9ac86b7b11 100644 --- a/gtk/a11y/gtkatspiselection.c +++ b/gtk/a11y/gtkatspiselection.c @@ -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) |