forked from enlightenment/efl
elementary: fix some source of nasty warning.
SVN revision: 61020
This commit is contained in:
parent
9a0a1410aa
commit
3de80a806a
|
@ -366,7 +366,7 @@ elm_video_play(Evas_Object *video)
|
|||
|
||||
if (emotion_object_play_get(wd->emotion)) return ;
|
||||
|
||||
ecore_timer_del(wd->timer);
|
||||
if (wd->timer) ecore_timer_del(wd->timer);
|
||||
wd->timer = NULL;
|
||||
wd->stop = EINA_FALSE;
|
||||
emotion_object_play_set(wd->emotion, EINA_TRUE);
|
||||
|
@ -407,7 +407,7 @@ elm_video_stop(Evas_Object *video)
|
|||
|
||||
if (!emotion_object_play_get(wd->emotion) && wd->stop) return ;
|
||||
|
||||
ecore_timer_del(wd->timer);
|
||||
if (wd->timer) ecore_timer_del(wd->timer);
|
||||
wd->timer = NULL;
|
||||
wd->stop = EINA_TRUE;
|
||||
emotion_object_play_set(wd->emotion, EINA_FALSE);
|
||||
|
|
Loading…
Reference in New Issue