mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-11-04 15:55:41 +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:
1 parent
25e197a6c8
commit
bcbe42dd7a
8 files changed
+21
-8
No files matched your search
@@ -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