[gnome-nibbles] Fix crash I just introduced
- From: Iulian Radu <iulianradu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-nibbles] Fix crash I just introduced
- Date: Mon, 26 Oct 2015 00:23:27 +0000 (UTC)
commit 07e0815067226812b7db1137a30e5889b56a7d36
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Sat Sep 19 18:19:36 2015 -0500
Fix crash I just introduced
src/gnome-nibbles.vala | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/gnome-nibbles.vala b/src/gnome-nibbles.vala
index 71b17e0..eacc0a3 100644
--- a/src/gnome-nibbles.vala
+++ b/src/gnome-nibbles.vala
@@ -542,12 +542,6 @@ public class Nibbles : Gtk.Application
private void create_scores ()
{
- scores_context = new Games.Scores.Context ("gnome-nibbles",
- "",
- window,
- category_request,
- Games.Scores.Style.PLAIN_DESCENDING);
-
scorecats = new Gee.LinkedList<Games.Scores.Category> ();
scorecats.add (new Games.Scores.Category ("beginner", "Beginner"));
scorecats.add (new Games.Scores.Category ("slow", "Slow"));
@@ -557,6 +551,12 @@ public class Nibbles : Gtk.Application
scorecats.add (new Games.Scores.Category ("slow-fakes", "Slow with Fakes"));
scorecats.add (new Games.Scores.Category ("medium-fakes", "Medium with Fakes"));
scorecats.add (new Games.Scores.Category ("fast-fakes", "Fast with Fakes"));
+
+ scores_context = new Games.Scores.Context ("gnome-nibbles",
+ "",
+ window,
+ category_request,
+ Games.Scores.Style.PLAIN_DESCENDING);
}
private Games.Scores.Category get_scores_category (int speed, bool fakes)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]