Don't add cursor callback for delete on parents of sub objects

They will only display a warning because they don't have a cursor themselves.
Only adding for the eventareas will free everything created.



SVN revision: 52821
This commit is contained in:
Bruno Dilly 2010-09-27 22:17:40 +00:00
parent 481f83d212
commit c7c28779cd
1 changed files with 0 additions and 3 deletions

View File

@ -364,9 +364,6 @@ elm_object_sub_cursor_set(Evas_Object *eventarea, Evas_Object *owner, const char
_elm_cursor_mouse_out, cur);
evas_object_event_callback_add(eventarea, EVAS_CALLBACK_DEL,
_elm_cursor_del, cur);
if (owner != eventarea)
evas_object_event_callback_add(owner, EVAS_CALLBACK_DEL,
_elm_cursor_del, cur);
}
/**