on second thought - limit to 0 if < 0 - rest of ecore-timer does this.

SVN revision: 76809
This commit is contained in:
Carsten Haitzler 2012-09-18 11:47:22 +00:00
parent cc72c09b84
commit 8c261bb4de
1 changed files with 1 additions and 7 deletions

View File

@ -232,13 +232,7 @@ ecore_timer_interval_set(Ecore_Timer *timer,
{
EINA_MAIN_LOOP_CHECK_RETURN;
_ecore_lock();
if (in < 0.0)
{
ERR("Interval %f less than zero, ignored", in);
goto unlock;
}
if (in < 0.0) in = 0.0;
if (!ECORE_MAGIC_CHECK(timer, ECORE_MAGIC_TIMER))
{
ECORE_MAGIC_FAIL(timer, ECORE_MAGIC_TIMER,