[gnome-2048/arnaudb/wip/gtk4: 46/48] Adapt to Context constructors.




commit 0731935db144779e44b2c21a03dad48bbb347e57
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Mon Jul 20 17:21:23 2020 +0200

    Adapt to Context constructors.

 src/game-window.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/game-window.vala b/src/game-window.vala
index 21cba62..9f6b321 100644
--- a/src/game-window.vala
+++ b/src/game-window.vala
@@ -451,7 +451,7 @@ private class GameWindow : ApplicationWindow
         _grid5_cat = new Scores.Category ("grid5", _("Grid 5 × 5"));
 
         /* Translators: label introducing a combobox in the dialog that appears when the user clicks the 
"Scores" entry in the hamburger menu, if the user has already finished at least two games of different size 
(between 3 × 3, 4 × 4 and 5 × 5) */
-        _scores_ctx = new Scores.Context.with_icon_name ("gnome-2048", _("Grid Size:"), this, 
category_request, Scores.Style.POINTS_GREATER_IS_BETTER, "org.gnome.TwentyFortyEight");
+        _scores_ctx = new Scores.Context ("gnome-2048", "org.gnome.TwentyFortyEight", _("Grid Size:"), this, 
category_request, Scores.Style.POINTS_GREATER_IS_BETTER);
     }
     private inline Scores.Category category_request (string key)
     {


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