[gnome-chess] Improving the precision of chess-clock



commit c79fab81afe5b35da34c61fe07b9c7aad7937853
Author: Sahil Sareen <sahil sareen hotmail com>
Date:   Wed Feb 11 14:31:47 2015 +0530

    Improving the precision of chess-clock
    
    * Minor change to chess-clock library.

 lib/chess-clock.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/chess-clock.vala b/lib/chess-clock.vala
index 142f7f2..4e5c9f7 100644
--- a/lib/chess-clock.vala
+++ b/lib/chess-clock.vala
@@ -121,7 +121,7 @@ public class ChessClock : Object
     private void watch_timer ()
     {
         /* Wake up each second */
-        tick_timeout_id = Timeout.add_seconds (1, tick_cb);
+        tick_timeout_id = Timeout.add (1000, tick_cb);
     }
 
     private void stop_watching_timer ()


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]