[five-or-more] Fix "implicit .begin is deprecated" warning
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [five-or-more] Fix "implicit .begin is deprecated" warning
- Date: Mon, 16 Sep 2019 08:54:53 +0000 (UTC)
commit 7c69d6b71b5451a7fba933ccb0a5368d01b772c7
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Mon Sep 16 10:54:02 2019 +0200
Fix "implicit .begin is deprecated" warning
src/window.vala | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/window.vala b/src/window.vala
index 84afe24..a32f554 100644
--- a/src/window.vala
+++ b/src/window.vala
@@ -119,9 +119,9 @@ public class GameWindow : Gtk.ApplicationWindow
string name = category_name_from_key (game.score_current_category);
var current_category = new Games.Scores.Category (game.score_current_category, name);
- highscores.add_score (game.score,
- current_category,
- new Cancellable ());
+ highscores.add_score.begin (game.score,
+ current_category,
+ new Cancellable ());
show_scores ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]