Fix dnd shutdown.

SVN revision: 24514
This commit is contained in:
sebastid 2006-08-09 18:08:55 +00:00 committed by sebastid
parent 27e05aa5ad
commit e2e2ee6630
1 changed files with 3 additions and 8 deletions

View File

@ -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 @@ e_dnd_shutdown(void)
{
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)
{