[Pkg-e-commits] [SCM] Enlightenment DR17 toolkit based (based on the EFL) branch, upstream-vcs, updated. 447de88121d145a078f1754a0cfebb704d363821

pfritz pfritz at alioth.debian.org
Sat Jun 7 18:34:17 UTC 2008


The following commit has been merged in the upstream-vcs branch:
commit 9b43a4dc477f40f0f7df492dd1c2a977ea7a8ecb
Author: pfritz <pfritz>
Date:   Thu Apr 24 18:19:59 2008 +0000

    add warning

diff --git a/src/lib/ewl_container.c b/src/lib/ewl_container.c
index 0a2f15f..9f36a08 100644
--- a/src/lib/ewl_container.c
+++ b/src/lib/ewl_container.c
@@ -1157,6 +1157,11 @@ ewl_container_child_show_call(Ewl_Container *c, Ewl_Widget *w)
 		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);
 

-- 
Enlightenment DR17 toolkit based (based on the EFL)



More information about the Pkg-e-commits mailing list