Enlightenment CVS committal

Author  : pfritz
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_menubar.c 


Log Message:
remove unneeded cast

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_menubar.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- ewl_menubar.c       6 Feb 2007 22:35:21 -0000       1.17
+++ ewl_menubar.c       14 Feb 2007 06:50:18 -0000      1.18
@@ -199,17 +199,14 @@
 void
 ewl_menubar_cb_child_add(Ewl_Container *c, Ewl_Widget *w)
 {
-       Ewl_Menubar *mb;
-
        DENTER_FUNCTION(DLEVEL_STABLE);
        DCHECK_PARAM_PTR("c", c);
        DCHECK_PARAM_PTR("w", w);
        DCHECK_TYPE("c", c, EWL_CONTAINER_TYPE);
        DCHECK_TYPE("w", w, EWL_WIDGET_TYPE);
 
-       mb = EWL_MENUBAR(c);
        if (ewl_widget_type_is(w, "menu")) 
-               EWL_MENU(w)->menubar_parent = EWL_WIDGET(mb);
+               EWL_MENU(w)->menubar_parent = EWL_WIDGET(c);
 
        DLEAVE_FUNCTION(DLEVEL_STABLE);
 



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to