Enlightenment CVS committal Author : rbdpngn Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/lib Modified Files: ewl_container.c Log Message: Speedup tear down of containers. =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_container.c,v retrieving revision 1.16 retrieving revision 1.17 diff -u -3 -r1.16 -r1.17 --- ewl_container.c 23 Oct 2005 17:50:12 -0000 1.16 +++ ewl_container.c 5 Nov 2005 03:07:10 -0000 1.17 @@ -943,9 +943,10 @@ c->redirect = NULL; if (c->children) { /* - * Destroy any children still in the container. + * Destroy any children still in the container. Remove in + * order to avoid list walking. */ - while ((child = ecore_list_remove_last(c->children))) { + while ((child = ecore_list_remove_first(c->children))) { ewl_widget_destroy(child); } ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs