[gnome-games] collection-icon-view: Remove filtering_(developer|platform) fields
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] collection-icon-view: Remove filtering_(developer|platform) fields
- Date: Tue, 8 Jan 2019 10:10:51 +0000 (UTC)
commit 8bd4cd797f60c463e6769a66ad820fe695b2f092
Author: Yetizone <andreii lisita gmail com>
Date: Mon Dec 31 12:29:57 2018 +0200
collection-icon-view: Remove filtering_(developer|platform) fields
src/ui/collection-icon-view.vala | 18 ------------------
src/ui/developers-view.vala | 1 -
src/ui/platforms-view.vala | 1 -
3 files changed, 20 deletions(-)
---
diff --git a/src/ui/collection-icon-view.vala b/src/ui/collection-icon-view.vala
index 8ec9ed7d..9278fb38 100644
--- a/src/ui/collection-icon-view.vala
+++ b/src/ui/collection-icon-view.vala
@@ -20,24 +20,6 @@ private class Games.CollectionIconView : Gtk.Bin {
this.game_filter = game_filter;
}
- private Developer? _filtering_developer;
- public Developer? filtering_developer {
- get { return _filtering_developer; }
- set {
- _filtering_developer = value;
- flow_box.invalidate_filter ();
- }
- }
-
- private Platform? _filtering_platform;
- public Platform? filtering_platform {
- get { return _filtering_platform; }
- set {
- _filtering_platform = value;
- flow_box.invalidate_filter ();
- }
- }
-
private ulong model_changed_id;
private ListModel _model;
public ListModel model {
diff --git a/src/ui/developers-view.vala b/src/ui/developers-view.vala
index a93da398..a63ee0cc 100644
--- a/src/ui/developers-view.vala
+++ b/src/ui/developers-view.vala
@@ -71,7 +71,6 @@ private class Games.DevelopersView : SidebarView {
var row = row_item as DeveloperListItem;
var developer = row.developer;
selected_developer = developer;
- collection_view.filtering_developer = developer;
}
protected override int sort_rows (Gtk.ListBoxRow row1, Gtk.ListBoxRow row2) {
diff --git a/src/ui/platforms-view.vala b/src/ui/platforms-view.vala
index 0b4833c2..55548873 100644
--- a/src/ui/platforms-view.vala
+++ b/src/ui/platforms-view.vala
@@ -18,7 +18,6 @@ private class Games.PlatformsView : SidebarView {
var row = row_item as PlatformListItem;
var platform = row.platform;
selected_platform = platform;
- collection_view.filtering_platform = platform;
}
protected override int sort_rows (Gtk.ListBoxRow row1, Gtk.ListBoxRow row2) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]