projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a0a141
)
elementary: fix some source of nasty warning.
author
Cedric BAIL
<cedric.bail@free.fr>
Mon, 4 Jul 2011 19:58:04 +0000
(19:58 +0000)
committer
Cedric BAIL
<cedric.bail@free.fr>
Mon, 4 Jul 2011 19:58:04 +0000
(19:58 +0000)
SVN revision: 61020
legacy/elementary/src/lib/elm_video.c
patch
|
blob
|
history
diff --git
a/legacy/elementary/src/lib/elm_video.c
b/legacy/elementary/src/lib/elm_video.c
index
a9f00de
..
844557f
100644
(file)
--- a/
legacy/elementary/src/lib/elm_video.c
+++ b/
legacy/elementary/src/lib/elm_video.c
@@
-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);