[gnome-games] ui: Remove useless source in Application



commit 17b7c9b23f638cdd6fe9a8f77dbfa9dee1db48f0
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Tue Aug 16 08:03:46 2016 +0200

    ui: Remove useless source in Application
    
    This removes a TrackerGameSource from Application.load_game_list() which
    is useless as we never set queries to it.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=769963

 src/ui/application.vala |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/src/ui/application.vala b/src/ui/application.vala
index 64d8d6c..dc907a4 100644
--- a/src/ui/application.vala
+++ b/src/ui/application.vala
@@ -141,13 +141,6 @@ public class Games.Application : Gtk.Application {
 
                foreach (var source in sources)
                        yield source.each_game (add_game);
-
-               if (connection == null)
-                       return;
-
-               var tracker_source = new TrackerGameSource (connection);
-
-               yield tracker_source.each_game (add_game);
        }
 
        private void add_game (Game game) {


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