Can someone review this patch to the get_children() method of the
container class.
It aims to fix the problem that get_children returns the first object
as every child.
--- gtkcontainer.pre 5 Nov 2005 17:55:03 -0000 1.3
+++ gtkcontainer.pre 27 Dec 2005 20:41:57 -0000
@@ -58,7 +58,7 @@
my_pop_n_elems(args);
g=g1=gtk_container_get_children(GTK_CONTAINER(THIS->obj));
while (g1) {
- push_gobject(g->data);
+ push_gobject(g1->data);
n++;
g1=g_list_next(g1);
}