diff options
author | Michael Steenbeek <michael@AUGUSTUS.(none)> | 2012-06-25 11:20:52 +0200 |
---|---|---|
committer | Michael Steenbeek <michael@AUGUSTUS.(none)> | 2012-06-25 11:20:52 +0200 |
commit | e72f97458561206f5b2732919dc37ca81ba2ed92 (patch) | |
tree | e469bc18554232e3133eafec0587da0ed24b740b /applets/clock | |
parent | 765098c3b9d988f4ae690eebd38e559352fa5320 (diff) | |
download | mate-panel-e72f97458561206f5b2732919dc37ca81ba2ed92.tar.bz2 mate-panel-e72f97458561206f5b2732919dc37ca81ba2ed92.tar.xz |
Fix clock seconds
Diffstat (limited to 'applets/clock')
-rw-r--r-- | applets/clock/clock.c | 2 |
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 && |