ACTUALLY you want this one... that fix would lead to a segv... :) i think

this si what i originally intended but somehow just got wrong :(


SVN revision: 7604
This commit is contained in:
Carsten Haitzler 2003-10-15 05:20:07 +00:00
parent 95080ea56c
commit d2010dac48
1 changed files with 2 additions and 9 deletions

View File

@ -359,14 +359,6 @@ _ecore_event_del(Ecore_Event *event)
return data;
}
static void
_ecore_event_filter_del(Ecore_Event_Filter *ef)
{
ECORE_MAGIC_SET(ef, ECORE_MAGIC_NONE);
event_filters = _ecore_list_remove(event_filters, ef);
free(ef);
}
void
_ecore_event_call(void)
{
@ -398,11 +390,12 @@ _ecore_event_call(void)
}
if (event_filters_delete_me)
{
for (l = (Ecore_List *)event_filters; l; l = l->next)
for (l = (Ecore_List *)event_filters; l;)
{
Ecore_Event_Filter *ef;
ef = (Ecore_Event_Filter *)l;
l = l->next;
if (ef->delete_me)
{
event_filters = _ecore_list_remove(event_filters, ef);