comparison libpurple/plugins/filectl.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 3cc856ca2338
children 32ef245fd1f6
comparison
equal deleted inserted replaced
26611:8a0797f40695 26612:b87843de7c6a
218 218
219 static gboolean 219 static gboolean
220 plugin_load(PurplePlugin *plugin) 220 plugin_load(PurplePlugin *plugin)
221 { 221 {
222 init_file(); 222 init_file();
223 check = purple_timeout_add(5000, (GSourceFunc)check_file, NULL); 223 check = purple_timeout_add_seconds(5, (GSourceFunc)check_file, NULL);
224 224
225 return TRUE; 225 return TRUE;
226 } 226 }
227 227
228 static gboolean 228 static gboolean