[swell-foop/arnaudb/wip/gtk4: 44/44] Adapt to Context constructors.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [swell-foop/arnaudb/wip/gtk4: 44/44] Adapt to Context constructors.
- Date: Thu, 3 Sep 2020 14:01:37 +0000 (UTC)
commit f825c4421d6e11a3b6854f8d9e48af7e29323ba9
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]