From: Enlightenment C. <no...@cv...> - 2006-09-13 19:47:34
|
Enlightenment CVS committal Author : titan Project : e17 Module : libs/ewl Dir : e17/libs/ewl/src/lib Modified Files: ewl_shadow.c ewl_shadow.h Log Message: Remove the extra box from ewl_shadow. =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_shadow.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- ewl_shadow.c 12 Sep 2006 05:07:12 -0000 1.1 +++ ewl_shadow.c 13 Sep 2006 19:47:30 -0000 1.2 @@ -49,12 +49,5 @@ ewl_widget_appearance_set(EWL_WIDGET(s), EWL_SHADOW_TYPE); ewl_widget_inherit(EWL_WIDGET(s), EWL_SHADOW_TYPE); - s->body = ewl_vbox_new(); - ewl_widget_internal_set(s->body, TRUE); - ewl_container_child_append(EWL_CONTAINER(s), s->body); - ewl_widget_show(s->body); - - ewl_container_redirect_set(EWL_CONTAINER(s), EWL_CONTAINER(s->body)); - DRETURN_INT(TRUE, DLEVEL_STABLE); } =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_shadow.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- ewl_shadow.h 12 Sep 2006 05:07:12 -0000 1.1 +++ ewl_shadow.h 13 Sep 2006 19:47:30 -0000 1.2 @@ -38,7 +38,6 @@ struct Ewl_Shadow { Ewl_Box box; /**< Inherit from Ewl_Box */ - Ewl_Widget *body; /**< Box for holding children */ }; Ewl_Widget *ewl_shadow_new(void); |