]> Pileus Git - ~andy/gtk/commit
Fix another GtkFixed regression, in gtk_fixed_forall()
authorMatthias Clasen <mclasen@redhat.com>
Wed, 2 Feb 2011 05:40:02 +0000 (00:40 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 2 Feb 2011 05:40:02 +0000 (00:40 -0500)
commit54c97f3ba2358c60fcc32404b67716e44384fb52
tree5684e469b436a1dd88b09976bc43426965dce210
parent0ade265a69caf25ea5e008f016290d0e3115513b
Fix another GtkFixed regression, in gtk_fixed_forall()

b3f6f67c changed the loop from while() to for() in gtk_fixed_forall(),
but that's wrong since the callback can have side-effects on the list,
in case the current child gets removed. And that's the case when the
widget is destroyed.

Patch by Vincent Untz
https://bugzilla.gnome.org/show_bug.cgi?id=641196
gtk/gtkfixed.c