summaryrefslogtreecommitdiff
path: root/obt/mainloop.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2008-01-20 01:34:58 -0500
committerDana Jansens <danakj@orodu.net>2008-01-20 01:36:56 -0500
commitea481338b5f16fd81a7b33e036ead39b918a51af (patch)
tree93fcb3de5afdec06c6f21d344c4e9f046bf2804d /obt/mainloop.c
parent8439c393d8c1dfb7db5cebd57d2e1e084e60234a (diff)
make the obt library branch compile again with all the changes merged in from backport
Diffstat (limited to 'obt/mainloop.c')
-rw-r--r--obt/mainloop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/obt/mainloop.c b/obt/mainloop.c
index f6f2fa07..64972dd7 100644
--- a/obt/mainloop.c
+++ b/obt/mainloop.c
@@ -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 */