[swell-foop/arnaudb/wip/gtk4: 28/28] Adapt to Context constructors.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [swell-foop/arnaudb/wip/gtk4: 28/28] Adapt to Context constructors.
- Date: Mon, 20 Jul 2020 15:32:28 +0000 (UTC)
commit 7a429094b41acfac2f6f15621544ed00e9cf3fd9
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Mon Jul 20 17:29:29 2020 +0200
Adapt to Context constructors.
src/window.vala | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/window.vala b/src/window.vala
index 26f4fab..256ea63 100644
--- a/src/window.vala
+++ b/src/window.vala
@@ -396,15 +396,15 @@ private class SwellFoopWindow : ApplicationWindow
private inline void init_scores () // called on construct
{
- scores_context = new Games.Scores.Context.with_importer_and_icon_name (
+ scores_context = new Games.Scores.Context.with_importer (
"swell-foop",
+ "org.gnome.SwellFoop",
/* Translators: in the Scores dialog, label introducing for which board configuration (size and
number of colors) the best scores are displayed */
_("Type"),
this,
category_request,
Games.Scores.Style.POINTS_GREATER_IS_BETTER,
- new Games.Scores.HistoryFileImporter (parse_old_score),
- "org.gnome.SwellFoop");
+ new Games.Scores.HistoryFileImporter (parse_old_score));
}
private inline Games.Scores.Category? category_request (string key)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]