oops, fix case of timers never being fired while we have idlers.
authorbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 15 Jul 2009 00:11:04 +0000 (00:11 +0000)
committerbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 15 Jul 2009 00:11:04 +0000 (00:11 +0000)
commit434b7ae980a21a7f6f846d140488af82a9531c43
tree396c851c0320bcd5950d07b712ff71b51773b57d
parentb660a915a5ce4c39901ed112728a05510af2ea32
oops, fix case of timers never being fired while we have idlers.

To reach this case, have a timer that would not be fired on
_ecore_main_loop_iterate_internal(), for example it's not ready yet
(just_added==1), system would get into this inner loop and would never
stop, since there is timer expired now (next_time == 0.0), if we go to
start_loop it would just get into the same loop, not dispatching and
timers.

Python test 04-idler.py triggered that problem.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@41342 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/lib/ecore/ecore_main.c