[gnome-games] gnome-mahjongg: Remove unused restart_action that was causing a warning



commit 4196710f0d85e4ad97d6cd0ab873869f5b70e8fc
Author: Robert Ancell <robert ancell canonical com>
Date:   Mon Aug 20 14:22:48 2012 +1200

    gnome-mahjongg: Remove unused restart_action that was causing a warning

 gnome-mahjongg/src/gnome-mahjongg.vala |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gnome-mahjongg/src/gnome-mahjongg.vala b/gnome-mahjongg/src/gnome-mahjongg.vala
index d7ca51f..482ab50 100644
--- a/gnome-mahjongg/src/gnome-mahjongg.vala
+++ b/gnome-mahjongg/src/gnome-mahjongg.vala
@@ -19,7 +19,6 @@ public class Mahjongg : Gtk.Application
     private Gtk.Action hint_action;
     private Gtk.Action redo_action;
     private Gtk.Action undo_action;
-    private Gtk.Action restart_action;
     private GnomeGamesSupport.FullscreenAction fullscreen_action;
     private GnomeGamesSupport.FullscreenAction leave_fullscreen_action;
 
@@ -134,7 +133,6 @@ public class Mahjongg : Gtk.Application
     private void update_ui ()
     {
         pause_action.sensitive = game_view.game.started;
-        restart_action.sensitive = game_view.game.started;
 
         if (game_view.game.paused)
         {



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