mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-12 08:40:19 +00:00
Introduce and use fe_timeout_add_seconds
This should allow the operating system to be a bit more lax about timeouts, allowing more efficient power management.
This commit is contained in:
committed by
Patrick Griffis
parent
25e197a6c8
commit
bcbe42dd7a
@@ -2234,7 +2234,7 @@ new_dcc (void)
|
||||
dcc_list = g_slist_prepend (dcc_list, dcc);
|
||||
if (timeout_timer == 0)
|
||||
{
|
||||
timeout_timer = fe_timeout_add (1000, dcc_check_timeouts, NULL);
|
||||
timeout_timer = fe_timeout_add_seconds (1, dcc_check_timeouts, NULL);
|
||||
}
|
||||
return dcc;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user