hermet pushed a commit to branch master.
commit 0e9cd6e86425ebb8e2a3e8454e999496d10c1811
Author: ChunEon Park <[email protected]>
Date: Mon May 20 19:09:13 2013 +0900
elementary/win - prevent to add the timer multiple times.
---
src/lib/elm_win.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c
index 247538e..bfc909d 100644
--- a/src/lib/elm_win.c
+++ b/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()
--
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d