X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=obt%2Fmainloop.c;h=691c6875174585e7352bbf7d842e351407de5e8a;hb=84843c3f9842046e34366202f1a8f80ce8565f91;hp=f6f2fa07b76349c982a8c874af9097899a8590ac;hpb=700b2c0aec0663249e39333b24de02f249f70267;p=chaz%2Fopenbox diff --git a/obt/mainloop.c b/obt/mainloop.c index f6f2fa07..691c6875 100644 --- a/obt/mainloop.c +++ b/obt/mainloop.c @@ -140,7 +140,7 @@ struct _ObtMainLoopFdHandlerType GDestroyNotify destroy; }; -ObtMainLoop *obt_main_loop_new() +ObtMainLoop *obt_main_loop_new(void) { ObtMainLoop *loop; @@ -536,7 +536,7 @@ static void insert_timer(ObtMainLoop *loop, ObtMainLoopTimer *ins) { GSList *it; for (it = loop->timers; it; it = g_slist_next(it)) { - ObMainLoopTimer *t = it->data; + ObtMainLoopTimer *t = it->data; if (timecompare(&ins->timeout, &t->timeout) <= 0) { loop->timers = g_slist_insert_before(loop->timers, it, ins); break; @@ -553,7 +553,7 @@ void obt_main_loop_timeout_add(ObtMainLoop *loop, GEqualFunc cmp, GDestroyNotify notify) { - ObMainLoopTimer *t = g_new(ObMainLoopTimer, 1); + ObtMainLoopTimer *t = g_new(ObtMainLoopTimer, 1); g_assert(microseconds > 0); /* if it's 0 it'll cause an infinite loop */