From 12d2a9f3f718efa04b7ed92f2b15a78012eda0d7 Mon Sep 17 00:00:00 2001 From: cedric Date: Sat, 2 Jul 2011 12:23:47 +0000 Subject: [PATCH] elementary: fix little mistake in elm_video. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@60939 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/elm_video.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/elm_video.c b/src/lib/elm_video.c index 0cdb6e4..a9f00de 100644 --- a/src/lib/elm_video.c +++ b/src/lib/elm_video.c @@ -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); -- 2.7.4