[gnome-mahjongg] Ensure clock label is updated after Reset Game



commit cc0b4e6f2b07d78c2630d4df9b57d6f267fc4f91
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Wed Feb 19 19:25:59 2014 -0600

    Ensure clock label is updated after Reset Game

 src/game.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/game.vala b/src/game.vala
index 87baad5..ab3b110 100644
--- a/src/game.vala
+++ b/src/game.vala
@@ -457,6 +457,8 @@ public class Game
         stop_clock ();
         clock = null;
         clock_elapsed = 0.0;
+        /* Ensure the clock label is updated */
+        tick ();
     }
 
     private bool timeout_cb ()


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