Enlightenment CVS committal Author : lordchaos Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/lib Modified Files: ewl_widget.c Log Message: * Widget lifetime fix - fixes object_cache/evas for deparented widgets =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_widget.c,v retrieving revision 1.62 retrieving revision 1.63 diff -u -3 -r1.62 -r1.63 --- ewl_widget.c 27 Jan 2006 03:57:00 -0000 1.62 +++ ewl_widget.c 30 Jan 2006 05:19:52 -0000 1.63 @@ -723,6 +723,10 @@ op = EWL_CONTAINER(w->parent); if (op == EWL_CONTAINER(p)) DRETURN(DLEVEL_STABLE); + + + if (!p) + ewl_widget_obscure(w); /* * Verify this will not result in recursively nested widgets. @@ -2188,7 +2192,7 @@ ewl_object_padding_set(EWL_OBJECT(w), p_l, p_r, p_t, p_b); } - ewl_widget_obscure(w); + DLEAVE_FUNCTION(DLEVEL_STABLE); } ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs