and dont propagate those...

SVN revision: 11918
This commit is contained in:
Carsten Haitzler 2004-10-20 03:26:12 +00:00
parent df286f2bef
commit d17b8d8c96
1 changed files with 3 additions and 1 deletions

View File

@ -117,7 +117,9 @@ evas_object_event_callback_call(Evas_Object *obj, Evas_Callback_Type type, void
if (!obj->callbacks)
{
if (obj->smart.parent)
if ((obj->smart.parent) &&
(type != EVAS_CALLBACK_FREE) &&
(type <= EVAS_CALLBACK_KEY_UP))
evas_object_event_callback_call(obj->smart.parent, type, event_info);
return;
}