Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_container.c 


Log Message:
Speed up container destruction process.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_container.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -3 -r1.18 -r1.19
--- ewl_container.c     13 Nov 2005 06:48:55 -0000      1.18
+++ ewl_container.c     16 Nov 2005 04:54:12 -0000      1.19
@@ -949,10 +949,10 @@
        c->redirect = NULL;
        if (c->children) {
                /*
-                * Destroy any children still in the container. Remove in
-                * order to avoid list walking.
+                * Destroy any children still in the container. Do not remove
+                * in order to avoid list walking.
                 */
-               while ((child = ecore_list_remove_first(c->children))) {
+               while ((child = ecore_list_goto_first(c->children))) {
                        ewl_widget_destroy(child);
                }
 




-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to