Fix GtkAssistant's accessible children. Fixes bug #575319.

This commit is contained in:
Eitan Isaacson 2009-05-29 12:50:00 +02:00
parent d1f921b5bc
commit 8166a0e1af

View File

@ -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);