--- Glib-EV/EV.xs 2009/01/31 09:49:55 1.4 +++ Glib-EV/EV.xs 2010/11/01 22:23:31 1.5 @@ -17,7 +17,7 @@ static void timeout_cb (EV_P_ ev_timer *w, int revents) { - ev_unloop (EV_A, EVUNLOOP_ONE); + ev_break (EV_A, EVBREAK_ONE); } typedef struct @@ -40,7 +40,7 @@ if (!oev && s->pfd->revents) ++*(s->got_events); - ev_unloop (EV_A, EVUNLOOP_ONE); + ev_break (EV_A, EVBREAK_ONE); } static gint @@ -81,7 +81,7 @@ ev_timer_start (EV_DEFAULT, &to); } - ev_loop (EV_DEFAULT, 0); + ev_run (EV_DEFAULT, 0); if (timeout >= 0) ev_timer_stop (EV_DEFAULT, &to);