aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/elementary/src/lib/elm_win.c
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2013-05-20 19:09:13 +0900
committerChunEon Park <hermet@hermet.pe.kr>2013-05-20 19:09:13 +0900
commit7f7cc5ad39d92159564c63a5b0e0bac34ae50db8 (patch)
treee39f511e27e664dadeef57a9459a4380b21ea826 /legacy/elementary/src/lib/elm_win.c
parenthave glview test inset view a bit and allow testing of direct vs indirect... ... (diff)
downloadefl-7f7cc5ad39d92159564c63a5b0e0bac34ae50db8.tar.gz
elementary/win - prevent to add the timer multiple times.
Diffstat (limited to 'legacy/elementary/src/lib/elm_win.c')
-rw-r--r--legacy/elementary/src/lib/elm_win.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/legacy/elementary/src/lib/elm_win.c b/legacy/elementary/src/lib/elm_win.c
index 247538e9f7..bfc909da3a 100644
--- a/legacy/elementary/src/lib/elm_win.c
+++ b/legacy/elementary/src/lib/elm_win.c
@@ -519,7 +519,9 @@ _shot_handle(Elm_Win_Smart_Data *sd)
{
if (!sd->shot.info) return;
- sd->shot.timer = ecore_timer_add(_shot_delay_get(sd), _shot_delay, sd->obj);
+ if (!sd->shot.timer)
+ sd->shot.timer = ecore_timer_add(_shot_delay_get(sd), _shot_delay,
+ sd->obj);
}
/* elm-win specific associate, does the trap while ecore_evas_object_associate()