Enlightenment CVS committal Author : ningerso Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/lib Modified Files: ewl_tree.c ewl_row.c Log Message: Cleanup warnings and extra list operation in tree. =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_tree.c,v retrieving revision 1.33 retrieving revision 1.34 diff -u -3 -r1.33 -r1.34 --- ewl_tree.c 30 Mar 2006 04:56:36 -0000 1.33 +++ ewl_tree.c 31 Mar 2006 05:25:00 -0000 1.34 @@ -173,8 +173,7 @@ tree->headers_visible = visible; - row = ecore_dlist_goto_first(EWL_CONTAINER(tree)->children); - ecore_dlist_goto_first(EWL_CONTAINER(row)->children); + row = tree->header; ewl_container_child_iterate_begin(EWL_CONTAINER(row)); while ((button = ewl_container_child_next(EWL_CONTAINER(row)))) { =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_row.c,v retrieving revision 1.17 retrieving revision 1.18 diff -u -3 -r1.17 -r1.18 --- ewl_row.c 30 Mar 2006 06:32:05 -0000 1.17 +++ ewl_row.c 31 Mar 2006 05:25:00 -0000 1.18 @@ -134,7 +134,7 @@ nodes = 0; ewl_container_child_iterate_begin(c); - while ((child = ewl_container_child_next(c))) { + while ((child = EWL_OBJECT(ewl_container_child_next(c)))) { if (VISIBLE(child)) nodes++; } @@ -166,7 +166,7 @@ * Iterate over the children and position the header children. */ ewl_container_child_iterate_begin(EWL_CONTAINER(hdr)); - while ((child = ewl_container_child_next(c))) { + while ((child = EWL_OBJECT(ewl_container_child_next(c)))) { align = EWL_OBJECT(ewl_container_child_next(EWL_CONTAINER(hdr))); if (align && VISIBLE(align)) width = ewl_object_current_x_get(align) + ewl_object_current_w_get(align) - x; @@ -193,7 +193,7 @@ */ else { int tx = x; - while ((child = ewl_container_child_next(c))) { + while ((child = EWL_OBJECT(ewl_container_child_next(c)))) { int portion; /* ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs