]> Dogcows Code - chaz/openbox/commitdiff
oops, now is in the loop :>
authorDana Jansens <danakj@orodu.net>
Sun, 31 Aug 2003 21:14:21 +0000 (21:14 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 31 Aug 2003 21:14:21 +0000 (21:14 +0000)
openbox/mainloop.c

index bdfff0386ca6216088a620217d701f1e1a833dfa..888c58fac48e25822d05816548959c7ca741eee8 100644 (file)
@@ -511,7 +511,7 @@ void ob_main_loop_timeout_add(ObMainLoop *loop,
     t->data = data;
     t->destroy = notify;
     t->del_me = FALSE;
-    g_get_current_time(&now);
+    g_get_current_time(&loop->now);
     t->last = t->timeout = loop->now;
     g_time_val_add(&t->timeout, t->delay);
 
This page took 0.02343 seconds and 4 git commands to generate.