[gnome-games] mahjongg: Adapt to GamesClock API changes



commit 450ac258263bb9ebefabbe1b92c5363a88b4c1fe
Author: Christian Persch <chpe gnome org>
Date:   Sun Jul 12 21:18:29 2009 +0200

    mahjongg: Adapt to GamesClock API changes
    
    Use games_clock_reset().

 mahjongg/mahjongg.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/mahjongg/mahjongg.c b/mahjongg/mahjongg.c
index a277e6b..82f39a5 100644
--- a/mahjongg/mahjongg.c
+++ b/mahjongg/mahjongg.c
@@ -1192,7 +1192,7 @@ new_game (gboolean shuffle)
 
   /* Prepare clock */
   games_clock_stop (GAMES_CLOCK (chrono));
-  games_clock_set_seconds (GAMES_CLOCK (chrono), 0);
+  games_clock_reset (GAMES_CLOCK (chrono));
 
   /* Redraw */
   draw_all_tiles ();



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