Mercurial > pidgin
diff pidgin/gtkutils.c @ 26531:b162300ab1e7
A patch from Arunan Balasubramaniam to use timeouts in seconds instead of
milliseconds in Pidgin. This enables grouping of timers for greater power
efficiency.
Fixes #8834.
committer: Elliott Sales de Andrade <qulogic@pidgin.im>
author | foss@abala.me |
---|---|
date | Fri, 10 Apr 2009 06:32:57 +0000 |
parents | 0a1f7bff1ddd |
children | a3f7ade9e45b |
line wrap: on
line diff
--- a/pidgin/gtkutils.c Fri Apr 10 06:18:08 2009 +0000 +++ b/pidgin/gtkutils.c Fri Apr 10 06:32:57 2009 +0000 @@ -950,7 +950,7 @@ "accel changed, scheduling save.\n"); if (!accels_save_timer) - accels_save_timer = g_timeout_add(5000, pidgin_save_accels, + accels_save_timer = purple_timeout_add_seconds(5, pidgin_save_accels, NULL); }