forked from enlightenment/efl
evas object: Mark event free as @beta
Use EO_EVENT_DEL instead.
This commit is contained in:
parent
64896646ce
commit
ff0124bdae
|
@ -928,7 +928,7 @@ abstract Evas.Object (Eo.Base, Evas.Common_Interface, Efl.Gfx, Efl.Gfx.Stack,
|
|||
multi,down @beta; [[Mouse-touch Down Event ]]
|
||||
multi,up @beta; [[Mouse-touch Up Event ]]
|
||||
multi,move @beta; [[Multi-touch Move Event ]]
|
||||
free; [[Object Being Freed (Called after Del) ]]
|
||||
free @beta; [[Object Being Freed (Called after Del) ]]
|
||||
key,down @beta; [[Key Press Event ]]
|
||||
key,up @beta; [[Key Release Event ]]
|
||||
focus,in; [[Focus In Event ]]
|
||||
|
|
|
@ -169,7 +169,7 @@ _evas_object_box_option_new(Evas_Object *o, Evas_Object_Box_Data *priv EINA_UNUS
|
|||
|
||||
static const Eo_Callback_Array_Item evas_object_box_callbacks[] = {
|
||||
{ EVAS_OBJECT_EVENT_RESIZE, _on_child_resize },
|
||||
{ EVAS_OBJECT_EVENT_FREE, _on_child_del },
|
||||
{ EO_EVENT_DEL, _on_child_del },
|
||||
{ EVAS_OBJECT_EVENT_CHANGED_SIZE_HINTS, _on_child_hints_changed },
|
||||
{ NULL, NULL }
|
||||
};
|
||||
|
|
|
@ -643,7 +643,7 @@ init_video_object(const char *module_filename, const char *filename)
|
|||
if (!fd) exit(1);
|
||||
|
||||
oe = eo_add(EDJE_OBJECT_CLASS, evas);
|
||||
eo_event_callback_add(oe, EVAS_OBJECT_EVENT_FREE, _oe_free_cb, fd);
|
||||
eo_event_callback_add(oe, EO_EVENT_DEL, _oe_free_cb, fd);
|
||||
eo_key_data_set(oe, "frame_data", fd);
|
||||
efl_file_set(oe, theme_file, reflex ? "video_controller/reflex" : "video_controller");
|
||||
edje_object_part_swallow(oe, "video_swallow", o);
|
||||
|
|
Loading…
Reference in New Issue