[gnome-chess/gnome-3-14] Improving the precision of chess-clock



commit d4cbaa0eaeadfda9ad173ba7369e370af93018d9
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 093ccf3..7edfddf 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]