[five-or-more/arnaudb/wip/gtk4: 35/37] Adapt to lggs API.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [five-or-more/arnaudb/wip/gtk4: 35/37] Adapt to lggs API.
- Date: Tue, 4 Aug 2020 15:17:07 +0000 (UTC)
commit 668d5d1a2cf4c1380af7784a9e449b6e318dc455
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Tue Aug 4 16:57:44 2020 +0200
Adapt to lggs API.
src/window.vala | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/src/window.vala b/src/window.vala
index e16af57..b4875d8 100644
--- a/src/window.vala
+++ b/src/window.vala
@@ -185,14 +185,14 @@ private class GameWindow : ApplicationWindow
private inline void init_scores_dialog ()
{
var importer = new Games.Scores.DirectoryImporter ();
- highscores = new Games.Scores.Context.with_importer_and_icon_name ("five-or-more",
- /* Translators: text in the
Scores dialog, introducing the combobox */
- _("Board Size: "),
- this,
- create_category_from_key,
-
Games.Scores.Style.POINTS_GREATER_IS_BETTER,
- importer,
- "org.gnome.five-or-more");
+ highscores = new Games.Scores.Context.with_importer ("five-or-more",
+ "org.gnome.five-or-more",
+ /* Translators: text in the Scores dialog,
introducing the combobox */
+ _("Board Size: "),
+ this,
+ create_category_from_key,
+ Games.Scores.Style.POINTS_GREATER_IS_BETTER,
+ importer);
game.game_over.connect (score_cb);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]