Enlightenment CVS wrote:
> Enlightenment CVS committal
> 
> Author  : pfritz
> Project : e17
> Module  : libs/ewl
> 
> Dir     : e17/libs/ewl/src/lib
> 
> 
> Modified Files:
>       ewl_tree.c 
> 
> 
> Log Message:
> i wonder why the compiler didn't cried

Because some of the dlist functions are cast?
# define ecore_dlist_count(list) ecore_list_count(ECORE_LIST(list))

Sebastian

> 
> ===================================================================
> RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_tree.c,v
> retrieving revision 1.62
> retrieving revision 1.63
> diff -u -3 -r1.62 -r1.63
> --- ewl_tree.c        14 Mar 2008 20:50:29 -0000      1.62
> +++ ewl_tree.c        16 Mar 2008 22:50:02 -0000      1.63
> @@ -1461,7 +1461,7 @@
>       if (w == node->handle)
>               DRETURN(DLEVEL_STABLE);
>  
> -     if (ecore_dlist_count(c) < 3)
> +     if (ecore_dlist_count(c->children) < 3)
>       {
>               if (node->handle && VISIBLE(node->handle))
>                       ewl_widget_hide(node->handle);
> @@ -1503,7 +1503,7 @@
>  
>       node = EWL_TREE_NODE(c);
>  
> -     if (ecore_list_count(c->children) > 2)
> +     if (ecore_dlist_count(c->children) > 2)
>       {
>               /* XXX what do we do if !node->handle? */
>               if (node->handle && HIDDEN(node->handle))
> 
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> enlightenment-cvs mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to