[gnome-nibbles/wip/vala] Update for another libgames-support API break
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-nibbles/wip/vala] Update for another libgames-support API break
- Date: Sat, 26 Sep 2015 16:00:15 +0000 (UTC)
commit 2d4654e4b6f1a3e8d90e077a083c2cb6497eb303
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]