summaryrefslogtreecommitdiff
path: root/applets/clock
diff options
context:
space:
mode:
authorMichael Steenbeek <michael@AUGUSTUS.(none)>2012-06-25 11:20:52 +0200
committerMichael Steenbeek <michael@AUGUSTUS.(none)>2012-06-25 11:20:52 +0200
commite72f97458561206f5b2732919dc37ca81ba2ed92 (patch)
treee469bc18554232e3133eafec0587da0ed24b740b /applets/clock
parent765098c3b9d988f4ae690eebd38e559352fa5320 (diff)
downloadmate-panel-e72f97458561206f5b2732919dc37ca81ba2ed92.tar.bz2
mate-panel-e72f97458561206f5b2732919dc37ca81ba2ed92.tar.xz
Fix clock seconds
Diffstat (limited to 'applets/clock')
-rw-r--r--applets/clock/clock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/applets/clock/clock.c b/applets/clock/clock.c
index b4846009..d728354e 100644
--- a/applets/clock/clock.c
+++ b/applets/clock/clock.c
@@ -317,7 +317,7 @@ clock_set_timeout (ClockData *cd,
struct timeval tv;
gettimeofday (&tv, NULL);
- timeouttime = (G_USEC_PER_SEC - tv.tv_usec)/1000+1;
+ timeouttime = (G_USEC_PER_SEC - tv.tv_usec)/1000+20;
/* timeout of one minute if we don't care about the seconds */
if (cd->format != CLOCK_FORMAT_UNIX &&