g_ptr_array_remove() DOES preserve order; the documentation is bad. Removed that TODO from container_unix.c.

This commit is contained in:
Pietro Gagliardi 2014-08-14 07:42:51 -04:00
parent de22660ae4
commit 8d7eb59fc5
1 changed files with 0 additions and 1 deletions

View File

@ -51,7 +51,6 @@ static void goContainer_add(GtkContainer *container, GtkWidget *widget)
static void goContainer_remove(GtkContainer *container, GtkWidget *widget)
{
gtk_widget_unparent(widget);
/* TODO this won't guarantee order preservation; important if we ever actually use this */
g_ptr_array_remove(GOCONTAINER(container)->children, widget);
}