Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src


Modified Files:
        ewl_widget.c 


Log Message:
Remove the child from the parent at destruction request to avoid passing
further events to it.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_widget.c,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -3 -r1.93 -r1.94
--- ewl_widget.c        10 Dec 2003 01:42:17 -0000      1.93
+++ ewl_widget.c        10 Dec 2003 05:36:12 -0000      1.94
@@ -240,6 +240,9 @@
        if (dnd_widget == w)
                dnd_widget = NULL;
 
+       if (w->parent)
+               ewl_container_remove_child(EWL_CONTAINER(w->parent), w);
+
        ewl_destroy_request(w);
 
        DLEAVE_FUNCTION(DLEVEL_STABLE);




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to