[gnome-games] collection-icon-view: Add GameFilter property



commit db981f76409ddf5cdb69172518a3e5be4fe52ef6
Author: Yetizone <andreii lisita gmail com>
Date:   Mon Dec 17 15:44:37 2018 +0200

    collection-icon-view: Add GameFilter property

 src/ui/collection-icon-view.vala | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/src/ui/collection-icon-view.vala b/src/ui/collection-icon-view.vala
index 572a1784..438126eb 100644
--- a/src/ui/collection-icon-view.vala
+++ b/src/ui/collection-icon-view.vala
@@ -14,6 +14,12 @@ private class Games.CollectionIconView : Gtk.Bin {
                }
        }
 
+       public delegate bool GameFilter (Game game);
+       private unowned GameFilter? game_filter;
+       public void set_game_filter (GameFilter? game_filter) {
+               this.game_filter = game_filter;
+       }
+
        private Developer? _filtering_developer;
        public Developer? filtering_developer {
                get { return _filtering_developer; }


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