oops, now is in the loop :>
This commit is contained in:
parent
5db556c541
commit
8de54d2b45
1 changed files with 1 additions and 1 deletions
|
@ -511,7 +511,7 @@ void ob_main_loop_timeout_add(ObMainLoop *loop,
|
||||||
t->data = data;
|
t->data = data;
|
||||||
t->destroy = notify;
|
t->destroy = notify;
|
||||||
t->del_me = FALSE;
|
t->del_me = FALSE;
|
||||||
g_get_current_time(&now);
|
g_get_current_time(&loop->now);
|
||||||
t->last = t->timeout = loop->now;
|
t->last = t->timeout = loop->now;
|
||||||
g_time_val_add(&t->timeout, t->delay);
|
g_time_val_add(&t->timeout, t->delay);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue