mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-10 16:00:18 +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
@@ -415,6 +415,12 @@ fe_timeout_add (int interval, void *callback, void *userdata)
|
||||
return g_timeout_add (interval, (GSourceFunc) callback, userdata);
|
||||
}
|
||||
|
||||
int
|
||||
fe_timeout_add_seconds (int interval, void *callback, void *userdata)
|
||||
{
|
||||
return g_timeout_add_seconds (interval, (GSourceFunc) callback, userdata);
|
||||
}
|
||||
|
||||
void
|
||||
fe_input_remove (int tag)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user