[gnome-nibbles] Update for another libgames-support API break



commit 4dd6d6adf88c6f81032adc6c131bed23c3382c12
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sat Sep 26 10:59:08 2015 -0500

    Update for another libgames-support API break
    
    This is now a Gee.List instead of a GLib.List

 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 2a3a40c..32d8f22 100644
--- a/src/gnome-nibbles.vala
+++ b/src/gnome-nibbles.vala
@@ -624,8 +624,8 @@ 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 (score, scores.last ().data.score);
+            var scores = scores_context.get_high_scores (get_scores_category (game.speed, game.fakes));
+            game_over (score, scores.last ().score);
         });
     }
 


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