Enlightenment CVS committal

Author  : pfritz
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_container.c 


Log Message:
add warning

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_container.c,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -3 -r1.71 -r1.72
--- ewl_container.c     20 Apr 2008 03:45:17 -0000      1.71
+++ ewl_container.c     24 Apr 2008 18:19:59 -0000      1.72
@@ -1157,6 +1157,11 @@
                DRETURN(DLEVEL_STABLE);
 
        c->visible_children++;
+       if (c->visible_children > ecore_dlist_count(c->children))
+               DWARNING("visible children count exceed total child count "
+                               "(%d > %d)\n", c->visible_children,
+                               ecore_dlist_count(c->children));
+
        if (c->child_show)
                c->child_show(c, w);
 



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to