From 8d7eb59fc52782aaaedb83c8ee25b6963a627ff6 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Thu, 14 Aug 2014 07:42:51 -0400 Subject: g_ptr_array_remove() DOES preserve order; the documentation is bad. Removed that TODO from container_unix.c. --- redo/container_unix.c | 1 - 1 file changed, 1 deletion(-) (limited to 'redo/container_unix.c') diff --git a/redo/container_unix.c b/redo/container_unix.c index 15a2ecb..c7a71dd 100644 --- a/redo/container_unix.c +++ b/redo/container_unix.c @@ -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); } -- cgit v1.2.3