summaryrefslogtreecommitdiff
path: root/gtk/gtkpaned.c
diff options
context:
space:
mode:
authorMathias Hasselmann <hasselmm@src.gnome.org>2007-12-16 19:15:17 +0000
committerMathias Hasselmann <hasselmm@src.gnome.org>2007-12-16 19:15:17 +0000
commit15c571eaf30d5fb4093323ec59a799e682cdd456 (patch)
tree8fccd89ccfb430ff4252dc19596f7f4254681f4d /gtk/gtkpaned.c
parent447de0991843c6070eec6fd026d9b622e9b041d6 (diff)
downloadgtk+-15c571eaf30d5fb4093323ec59a799e682cdd456.tar.gz
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
Diffstat (limited to 'gtk/gtkpaned.c')
-rw-r--r--gtk/gtkpaned.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkpaned.c b/gtk/gtkpaned.c
index 1752de0cea..0bf8cabe0d 100644
--- a/gtk/gtkpaned.c
+++ b/gtk/gtkpaned.c
@@ -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);
}
}