Mercurial > pidgin.yaz
diff libpurple/protocols/jabber/buddy.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 | 00870e5f2e90 |
children | d6a863df7884 608493e51182 925a5a7605b6 538b4175fd24 803e05b3a871 |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/buddy.c Fri Apr 10 05:57:23 2009 +0000 +++ b/libpurple/protocols/jabber/buddy.c Fri Apr 10 06:18:08 2009 +0000 @@ -1866,7 +1866,7 @@ } js->pending_buddy_info_requests = g_slist_prepend(js->pending_buddy_info_requests, jbi); - jbi->timeout_handle = purple_timeout_add(30000, jabber_buddy_get_info_timeout, jbi); + jbi->timeout_handle = purple_timeout_add_seconds(30, jabber_buddy_get_info_timeout, jbi); } void jabber_buddy_get_info(PurpleConnection *gc, const char *who)