api change for dexter_timedsampler_new
authorPhilip Kovacs <pkovacs@users.sourceforge.net>
Wed, 10 Jan 2007 02:57:58 +0000 (02:57 +0000)
committerPhilip Kovacs <pkovacs@users.sourceforge.net>
Wed, 10 Jan 2007 02:57:58 +0000 (02:57 +0000)
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@829 7f574dfc-610e-0410-a909-a81674777703

ChangeLog
src/linux.c

index 3db6c9a..588bce0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,9 @@
 # $Id$
 
-2006-01-07
+2007-01-09
+       * API change (timing in milliseconds) for dexter_timedsampler_new ().
+
+2007-01-07
        * Add config.rpath (created by gettextize -copy) to distribution
          to satisfy AM_ICONV.
        * Clean up some warnings; remove ftp.[ch] from src/Makefile.am.
index 086f314..f419852 100644 (file)
@@ -2140,7 +2140,7 @@ int dexter_client_init (void)
   callbacks[0] = sampler_data_callback;
 
   /* create the procraw timed sampler, timed to match conky's update_interval */
-  procraw_sampler = dexter_timedsampler_new (procraw_service, update_interval*G_USEC_PER_SEC,
+  procraw_sampler = dexter_timedsampler_new (procraw_service, update_interval*1000 /* millsecs */,
                                              callbacks, info.dexter.channel, &error);
   if (error)
   {