callback paranoia

touchies


SVN revision: 13626
This commit is contained in:
Carsten Haitzler 2005-03-05 04:47:46 +00:00
parent caf6eb2071
commit f483a73406
2 changed files with 7 additions and 1 deletions

View File

@ -3,6 +3,8 @@
rm -rf autom4te.cache
rm -f aclocal.m4
touch README
echo "Running aclocal..."; aclocal $ACLOCAL_FLAGS -I m4 \
&& echo "Running autoheader..."; autoheader \
&& echo "Running autoconf..."; autoconf \

View File

@ -115,6 +115,7 @@ evas_object_event_callback_call(Evas_Object *obj, Evas_Callback_Type type, void
/* MEM OK */
Evas_Object_List **l_mod, *l;
if (obj->delete_me) return;
if (!obj->callbacks)
{
if ((obj->smart.parent) &&
@ -184,7 +185,10 @@ evas_object_event_callback_call(Evas_Object *obj, Evas_Callback_Type type, void
fn = (Evas_Func_Node *)l;
if (!fn->delete_me)
fn->func(fn->data, obj->layer->evas, obj, event_info);
{
if (fn->func)
fn->func(fn->data, obj->layer->evas, obj, event_info);
}
if (obj->delete_me) break;
}
obj->callbacks->walking_list--;