ecore_main : merge with 61028 about g_main_loop
authorWooHyun Jung <wh0705.jung@samsung.com>
Tue, 5 Jul 2011 06:39:43 +0000 (15:39 +0900)
committerWooHyun Jung <wh0705.jung@samsung.com>
Tue, 5 Jul 2011 06:39:43 +0000 (15:39 +0900)
src/lib/ecore/ecore_main.c

index a063916..c6f0b51 100644 (file)
@@ -459,7 +459,7 @@ _ecore_main_gsource_prepare(GSource *source __UNUSED__, gint *next_time)
              if (_ecore_timers_exists())
                {
                   double t = _ecore_timer_next_get();
-                  *next_time = (t * 1000.0);
+                  *next_time = ceil(t * 1000.0);
                }
              else
                *next_time = -1;