Mercurial > pidgin
comparison libpurple/protocols/msnp9/slpcall.c @ 26530: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 | 7eeb81cbbcae |
children |
comparison
equal
deleted
inserted
replaced
26529:8a0797f40695 | 26530:b87843de7c6a |
---|---|
66 | 66 |
67 slpcall->slplink = slplink; | 67 slpcall->slplink = slplink; |
68 | 68 |
69 msn_slplink_add_slpcall(slplink, slpcall); | 69 msn_slplink_add_slpcall(slplink, slpcall); |
70 | 70 |
71 slpcall->timer = purple_timeout_add(MSN_SLPCALL_TIMEOUT, msn_slp_call_timeout, slpcall); | 71 slpcall->timer = purple_timeout_add_seconds(MSN_SLPCALL_TIMEOUT, msn_slp_call_timeout, slpcall); |
72 | 72 |
73 return slpcall; | 73 return slpcall; |
74 } | 74 } |
75 | 75 |
76 void | 76 void |