diff --git a/ChangeLog b/ChangeLog index 3db6c9a0..588bce0e 100644 --- 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. diff --git a/src/linux.c b/src/linux.c index 086f314b..f419852e 100644 --- a/src/linux.c +++ b/src/linux.c @@ -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) {