[five-or-more/arnaudb/wip/gtk4: 74/80] Adapt to lggs API.




commit 55def05bf47c471de4404fde455f5a91ac510811
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 2970083..b3e2887 100644
--- a/src/window.vala
+++ b/src/window.vala
@@ -184,14 +184,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]