Author: juha
Date: 2008-11-24 12:46:03 +0000 (Mon, 24 Nov 2008)
New Revision: 28898

Modified:
   xfcalendar/trunk/panel-plugin/orageclock.c
Log:
minor finetuning of accuracy test.


Modified: xfcalendar/trunk/panel-plugin/orageclock.c
===================================================================
--- xfcalendar/trunk/panel-plugin/orageclock.c  2008-11-23 23:04:06 UTC (rev 
28897)
+++ xfcalendar/trunk/panel-plugin/orageclock.c  2008-11-24 12:46:03 UTC (rev 
28898)
@@ -113,9 +113,8 @@
 static gboolean oc_get_time_and_tune(Clock *clock)
 {
     oc_get_time(clock);
-    if (clock->now.tm_sec > 1 && clock->now.tm_sec < 59) {
-        /* we are more than 1 sec off => fix the timing 
-         * FIXME: we might be 59 secs off and will not see that! */
+    if (clock->now.tm_sec > 1) {
+        /* we are more than 1 sec off => fix the timing */
         oc_start_timer(clock);
     }
     else if (clock->interval > 60000 && clock->now.tm_min != 0) {

_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to