diff options
author | Stefano Karapetsas <[email protected]> | 2012-07-06 00:52:03 -0700 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2012-07-06 00:52:03 -0700 |
commit | 97dbdf6c937f1221e7fc35e8f658bd07c9aa001b (patch) | |
tree | a3536e6fd8b34fe18f1dfb3153682207ae7f6ce6 /applets/clock/clock.c | |
parent | 4ac3c7f9f81501f753c31962407280481477fc20 (diff) | |
parent | e72f97458561206f5b2732919dc37ca81ba2ed92 (diff) | |
download | mate-panel-97dbdf6c937f1221e7fc35e8f658bd07c9aa001b.tar.bz2 mate-panel-97dbdf6c937f1221e7fc35e8f658bd07c9aa001b.tar.xz |
Merge pull request #30 from Gymnasiast/master
Fix for clock in mate-panel skipping seconds
Diffstat (limited to 'applets/clock/clock.c')
-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 && |