forked from AuroraMiddleware/gtk
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:
parent
2ca86eb969
commit
3e5bbfb2a5
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user