[gnome-games/wip/exalm/strsplit: 1/2] collection-box: Remove unnecessary brackets
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/wip/exalm/strsplit: 1/2] collection-box: Remove unnecessary brackets
- Date: Sat, 6 Oct 2018 19:06:52 +0000 (UTC)
commit 63c79aec265571c7e1397a813bdf6ada628faf61
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date: Sun Oct 7 00:01:53 2018 +0500
collection-box: Remove unnecessary brackets
Follow coding style.
src/ui/collection-box.vala | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/ui/collection-box.vala b/src/ui/collection-box.vala
index e56b2e18..63fb2776 100644
--- a/src/ui/collection-box.vala
+++ b/src/ui/collection-box.vala
@@ -158,12 +158,10 @@ private class Games.CollectionBox : Gtk.Box {
[GtkCallback]
private void on_search_text_notify () {
- if (viewstack.visible_child == platform_view) {
+ if (viewstack.visible_child == platform_view)
platform_view.filtering_text = search_bar.text;
- }
- else if (viewstack.visible_child == developer_view) {
+ else if (viewstack.visible_child == developer_view)
developer_view.filtering_text = search_bar.text;
- }
else
collection_view.filtering_text = search_bar.text;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]