diff 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
line wrap: on
line diff
--- a/libpurple/plugins/filectl.c	Fri Apr 10 05:57:23 2009 +0000
+++ b/libpurple/plugins/filectl.c	Fri Apr 10 06:18:08 2009 +0000
@@ -220,7 +220,7 @@
 plugin_load(PurplePlugin *plugin)
 {
 	init_file();
-	check = purple_timeout_add(5000, (GSourceFunc)check_file, NULL);
+	check = purple_timeout_add_seconds(5, (GSourceFunc)check_file, NULL);
 
 	return TRUE;
 }