Mercurial > pidgin.yaz
diff libpurple/protocols/sametime/sametime.c @ 26612:b87843de7c6a
A patch from Arunan Balasubramaniam to use timeouts in seconds instead of
milliseconds in libpurple. This enables grouping of timers for greater
power efficiency.
Fixes #8875.
committer: Elliott Sales de Andrade <qulogic@pidgin.im>
author | foss@abala.me |
---|---|
date | Fri, 10 Apr 2009 06:18:08 +0000 |
parents | 0c796a1950b7 |
children | d078048fb03a |
line wrap: on
line diff
--- a/libpurple/protocols/sametime/sametime.c Fri Apr 10 05:57:23 2009 +0000 +++ b/libpurple/protocols/sametime/sametime.c Fri Apr 10 06:18:08 2009 +0000 @@ -808,7 +808,7 @@ static void blist_schedule(struct mwPurplePluginData *pd) { if(pd->save_event) return; - pd->save_event = purple_timeout_add(BLIST_SAVE_SECONDS * 1000, + pd->save_event = purple_timeout_add_seconds(BLIST_SAVE_SECONDS, blist_save_cb, pd); }