[gnome-2048] add_score now has a cancellable parameter



commit 2a9a28a22b6231384dd6ed516be99b7f60eac78d
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sun Sep 20 18:03:56 2015 -0500

    add_score now has a cancellable parameter

 src/application.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/application.vala b/src/application.vala
index 5a298c6..074c1ad 100644
--- a/src/application.vala
+++ b/src/application.vala
@@ -145,7 +145,7 @@ public class Application : Gtk.Application
 
       if (!_game_restored) {
         Scores.Category cat = (_settings.get_int ("rows") == 4) ? _grid4_cat : _grid5_cat;
-        _scores_ctx.add_score.begin (_game.score, cat, (object, result) => {
+        _scores_ctx.add_score.begin (_game.score, cat, null, (object, result) => {
           try {
             _scores_ctx.add_score.end (result);
           } catch (GLib.Error e) {


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