summaryrefslogtreecommitdiff
path: root/legacy/ecore/src/lib/ecore/ecore_timer.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-09-18 11:47:22 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-09-18 11:47:22 +0000
commit8c261bb4de554f49a7cefd863c4399a46fa3235c (patch)
tree10597e9d5dc78b02e5bbe3a884006e762c846c76 /legacy/ecore/src/lib/ecore/ecore_timer.c
parentcc72c09b84b6e99bfcaf41255eec1987b0dc836f (diff)
on second thought - limit to 0 if < 0 - rest of ecore-timer does this.
SVN revision: 76809
Diffstat (limited to '')
-rw-r--r--legacy/ecore/src/lib/ecore/ecore_timer.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/legacy/ecore/src/lib/ecore/ecore_timer.c b/legacy/ecore/src/lib/ecore/ecore_timer.c
index e462b37b34..343c89f571 100644
--- a/legacy/ecore/src/lib/ecore/ecore_timer.c
+++ b/legacy/ecore/src/lib/ecore/ecore_timer.c
@@ -232,13 +232,7 @@ ecore_timer_interval_set(Ecore_Timer *timer,
232{ 232{
233 EINA_MAIN_LOOP_CHECK_RETURN; 233 EINA_MAIN_LOOP_CHECK_RETURN;
234 _ecore_lock(); 234 _ecore_lock();
235 235 if (in < 0.0) in = 0.0;
236 if (in < 0.0)
237 {
238 ERR("Interval %f less than zero, ignored", in);
239 goto unlock;
240 }
241
242 if (!ECORE_MAGIC_CHECK(timer, ECORE_MAGIC_TIMER)) 236 if (!ECORE_MAGIC_CHECK(timer, ECORE_MAGIC_TIMER))
243 { 237 {
244 ECORE_MAGIC_FAIL(timer, ECORE_MAGIC_TIMER, 238 ECORE_MAGIC_FAIL(timer, ECORE_MAGIC_TIMER,