[gnome-mahjongg] Just call restart_game() from restart_game_cb()



commit 7b5f6fdf924ca2804f3466be301db5d526c7c195
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Thu Feb 20 00:35:53 2014 -0600

    Just call restart_game() from restart_game_cb()
    
    I *think* these can be the same.

 src/gnome-mahjongg.vala |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/gnome-mahjongg.vala b/src/gnome-mahjongg.vala
index 50055fc..20fea52 100644
--- a/src/gnome-mahjongg.vala
+++ b/src/gnome-mahjongg.vala
@@ -586,8 +586,7 @@ public class Mahjongg : Gtk.Application
 
     private void restart_game_cb ()
     {
-        game_view.game.reset ();
-        game_view.queue_draw ();
+        restart_game ();
     }
 
     private void quit_cb ()


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