[libgnome-games-support] context: Rely on default args when creating MainLoop



commit 022cb6c215823a909ffb263418df877d3ef204a6
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Fri Oct 14 22:06:00 2016 -0500

    context: Rely on default args when creating MainLoop
    
    These are defaults.

 games/scores/context.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/games/scores/context.vala b/games/scores/context.vala
index 17b90cb..d58281d 100644
--- a/games/scores/context.vala
+++ b/games/scores/context.vala
@@ -242,7 +242,7 @@ public class Context : Object
 
     internal bool add_score_sync (Score score, Category category) throws Error
     {
-        var main_loop = new MainLoop (MainContext.@default (), false);
+        var main_loop = new MainLoop ();
         var ret = false;
         Error error = null;
 


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