forked from enlightenment/efl
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:
parent
481f83d212
commit
c7c28779cd
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue