Fix crash in gtk_fixed_remove()

b3f6f67c changed the loop from while() to for(), but the line to move to
the next child was kept, so we could go past the end of the list.

https://bugzilla.gnome.org/show_bug.cgi?id=641176
This commit is contained in:
Vincent Untz 2011-02-01 20:01:49 +01:00
parent 1b25489cba
commit 62d7593fc2

View File

@ -526,8 +526,6 @@ gtk_fixed_remove (GtkContainer *container,
break;
}
children = children->next;
}
}