[gnome-nibbles/wip/vala] add_score now takes a cancellable parameter



commit df9500ad06b04e7068ccfb51a9015153a0e30ea2
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sun Sep 20 18:01:35 2015 -0500

    add_score now takes a cancellable parameter
    
    Also, relayout to placate the style checker's line length limit

 src/gnome-nibbles.vala |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/gnome-nibbles.vala b/src/gnome-nibbles.vala
index e802f1a..2a3a40c 100644
--- a/src/gnome-nibbles.vala
+++ b/src/gnome-nibbles.vala
@@ -608,7 +608,10 @@ public class Nibbles : Gtk.Application
         if (score <= 0)
             return;
 
-        scores_context.add_score.begin (score, get_scores_category (game.speed, game.fakes), (object, 
result) => {
+        scores_context.add_score.begin (score,
+                                        get_scores_category (game.speed, game.fakes),
+                                        null,
+                                        (object, result) => {
             try
             {
                 if (scores_context.add_score.end (result))


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