summaryrefslogtreecommitdiff
path: root/openbox/mainloop.c
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@comhem.se>2007-07-17 02:48:16 +0200
committerMikael Magnusson <mikachu@comhem.se>2007-07-17 02:48:16 +0200
commit77baf26a7f2f64ddf1274035fd4991ab17345904 (patch)
tree1b7719e8dd6785bbedca505c53ce3cfcf398fff0 /openbox/mainloop.c
parente5a797f10d61e33f5d02c2d276f615ea3a00793f (diff)
remove trailing whitespace
Diffstat (limited to 'openbox/mainloop.c')
-rw-r--r--openbox/mainloop.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/openbox/mainloop.c b/openbox/mainloop.c
index f2a25133..591a7159 100644
--- a/openbox/mainloop.c
+++ b/openbox/mainloop.c
@@ -505,7 +505,7 @@ static glong timecompare(GTimeVal *a, GTimeVal *b)
if ((r = b->tv_sec - a->tv_sec)) return r;
return b->tv_usec - a->tv_usec;
-
+
}
static void insert_timer(ObMainLoop *loop, ObMainLoopTimer *ins)
@@ -601,7 +601,7 @@ static void timer_dispatch(ObMainLoop *loop, GTimeVal **wait)
for (it = loop->timers; it; it = next) {
ObMainLoopTimer *curr;
-
+
next = g_slist_next(it);
curr = it->data;
@@ -611,14 +611,14 @@ static void timer_dispatch(ObMainLoop *loop, GTimeVal **wait)
*/
if (curr->del_me) {
/* delete the top */
- loop->timers = g_slist_delete_link(loop->timers, it);
+ loop->timers = g_slist_delete_link(loop->timers, it);
if (curr->destroy)
curr->destroy(curr->data);
g_free(curr);
continue;
}
- /* the queue is sorted, so if this timer shouldn't fire, none are
+ /* the queue is sorted, so if this timer shouldn't fire, none are
ready */
if (timecompare(&NEAREST_TIMEOUT(loop), &loop->now) < 0)
break;