forked from enlightenment/efl
elementary: fix little mistake in elm_video.
SVN revision: 60939
This commit is contained in:
parent
5136d4845c
commit
3847d78c39
|
@ -105,6 +105,7 @@ _del_hook(Evas_Object *obj)
|
|||
Widget_Data *wd = elm_widget_data_get(obj);
|
||||
|
||||
if (!wd) return;
|
||||
if (wd->timer) ecore_timer_del(wd->timer);
|
||||
free(wd);
|
||||
}
|
||||
|
||||
|
@ -282,7 +283,7 @@ elm_video_add(Evas_Object *parent)
|
|||
wd->emotion = emotion_object_add(e);
|
||||
emotion_object_init(wd->emotion, NULL);
|
||||
edje_object_part_swallow(wd->layout, "elm.swallow.video", wd->emotion);
|
||||
/* elm_widget_sub_object_add(obj, wd->emotion); */
|
||||
elm_widget_sub_object_add(obj, wd->emotion);
|
||||
|
||||
evas_object_smart_callback_add(wd->emotion, "open_done", _open_done, obj);
|
||||
evas_object_smart_callback_add(wd->emotion, "playback_started", _playback_started, obj);
|
||||
|
|
Loading…
Reference in New Issue