mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-20 10:20:09 +00:00
Fix GtkAssistant's accessible children. Fixes bug #575319.
This commit is contained in:
parent
d1f921b5bc
commit
8166a0e1af
@ -2267,7 +2267,7 @@ gtk_assistant_accessible_ref_child (AtkObject *accessible,
|
||||
return NULL;
|
||||
else if (index < n_pages)
|
||||
{
|
||||
GtkAssistantPage *page = g_list_nth_data (priv->pages, index / 2);
|
||||
GtkAssistantPage *page = g_list_nth_data (priv->pages, index);
|
||||
|
||||
child = page->page;
|
||||
title = gtk_assistant_get_page_title (assistant, child);
|
||||
|
Loading…
Reference in New Issue
Block a user