[gnome-nibbles/wip/vala] game_over_cb is never used as a callback



commit e14f84e789b0dfc02a314771d66d0a3b30099862
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sun Sep 20 12:25:44 2015 -0500

    game_over_cb is never used as a callback

 src/gnome-nibbles.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gnome-nibbles.vala b/src/gnome-nibbles.vala
index 6b7cbfb..27004b8 100644
--- a/src/gnome-nibbles.vala
+++ b/src/gnome-nibbles.vala
@@ -616,7 +616,7 @@ public class Nibbles : Gtk.Application
 
             // Not a high score...
             var scores = scores_context.get_best_n_scores (get_scores_category (game.speed, game.fakes), 10);
-            game_over_cb (score, scores.last ().data.score);
+            game_over (score, scores.last ().data.score);
         });
     }
 
@@ -687,7 +687,7 @@ public class Nibbles : Gtk.Application
         });
     }
 
-    private void game_over_cb (int score, long last_score)
+    private void game_over (int score, long last_score)
     {
         new_game_action.set_enabled (false);
         pause_action.set_enabled (false);


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