Enlightenment CVS committal Author : sebastid Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_dnd.c Log Message: Fix dnd shutdown. =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_dnd.c,v retrieving revision 1.41 retrieving revision 1.42 diff -u -3 -r1.41 -r1.42 --- e_dnd.c 9 Aug 2006 17:45:43 -0000 1.41 +++ e_dnd.c 9 Aug 2006 18:08:55 -0000 1.42 @@ -4,9 +4,7 @@ #include "e.h" /* FIXME: broken when drop areas intersect - * (sub window has drop area on top of lower window or desktop - - * also shutdown is broken (walking list and deleting from the list as u go - * in this code is broken) + * (sub window has drop area on top of lower window or desktop) */ /* * TODO: @@ -124,16 +122,13 @@ { Evas_List *l; - for (l = _drag_list; l;) + while (_drag_list) { E_Drag *drag; - drag = l->data; - l = l->next; + drag = _drag_list->data; e_object_del(E_OBJECT(drag)); } - evas_list_free(_drag_list); - _drag_list = NULL; for (l = _event_handlers; l; l = l->next) { ------------------------------------------------------------------------- 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