Prevent assertion failure in gtk_paned_find_neighbours. (#503824,

Sébastien Granjoux)

* gtk/gtkpaned.c: Call gtk_container_forall instead of
gtk_container_foreach in get_child_panes.

svn path=/trunk/; revision=19186
This commit is contained in:
Mathias Hasselmann 2007-12-16 19:15:17 +00:00
parent 447de09918
commit 15c571eaf3
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,11 @@
2007-12-16 Mathias Hasselmann <mathias@openismus.com>
Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
Sébastien Granjoux)
* gtk/gtkpaned.c: Call gtk_container_forall instead of
gtk_container_foreach in get_child_panes.
2007-12-15 Xan Lopez <xan.lopez@nokia.com>
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):

View File

@ -1600,7 +1600,7 @@ get_child_panes (GtkWidget *widget,
}
else if (GTK_IS_CONTAINER (widget))
{
gtk_container_foreach (GTK_CONTAINER (widget),
gtk_container_forall (GTK_CONTAINER (widget),
(GtkCallback)get_child_panes, panes);
}
}