[gnome-games] Code style fixes



commit 3dc54604606f4349ca10da3a6071fbd1c42f939a
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date:   Thu May 23 15:12:12 2019 +0500

    Code style fixes

 src/ui/collection-box.vala | 5 +++--
 src/ui/platforms-view.vala | 4 +---
 2 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/src/ui/collection-box.vala b/src/ui/collection-box.vala
index de324394..e6d87b38 100644
--- a/src/ui/collection-box.vala
+++ b/src/ui/collection-box.vala
@@ -56,8 +56,9 @@ private class Games.CollectionBox : Gtk.Box {
 
                search_binding = bind_property ("search-mode", search_bar, "search-mode-enabled",
                                                BindingFlags.BIDIRECTIONAL);
-               loading_notification_binding = bind_property ("loading-notification", 
loading_notification_revealer, "reveal-child",
-                                                             BindingFlags.DEFAULT);
+               loading_notification_binding = bind_property ("loading-notification",
+                                                             loading_notification_revealer,
+                                                             "reveal-child", BindingFlags.DEFAULT);
 
                var icon_name = Config.APPLICATION_ID + "-symbolic";
                viewstack.child_set (collection_view, "icon-name", icon_name);
diff --git a/src/ui/platforms-view.vala b/src/ui/platforms-view.vala
index b24f93e6..59fd8e41 100644
--- a/src/ui/platforms-view.vala
+++ b/src/ui/platforms-view.vala
@@ -40,9 +40,7 @@ private class Games.PlatformsView : Gtk.Box {
        private Binding window_active_binding;
        private bool _is_active;
        public bool is_active {
-               get {
-                       return _is_active;
-               }
+               get { return _is_active; }
                set {
                        if (_is_active == value)
                                return;


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