[gnome-games/wip/exalm/views: 15/19] collection-view: Make 'box' and 'header_bar' private



commit f74916b61e9f404a4e77bd73b8143b321d72679c
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date:   Thu Oct 4 20:00:35 2018 +0500

    collection-view: Make 'box' and 'header_bar' private
    
    Since ApplicationWindow doesn't reference them anymore, they can be
    hidden.

 src/ui/collection-view.vala | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/ui/collection-view.vala b/src/ui/collection-view.vala
index 4326ba22..281fb2a2 100644
--- a/src/ui/collection-view.vala
+++ b/src/ui/collection-view.vala
@@ -3,8 +3,8 @@
 private class Games.CollectionView : Object, UiView {
        public signal void game_activated (Game game);
 
-       public CollectionBox box;
-       public CollectionHeaderBar header_bar;
+       private CollectionBox box;
+       private CollectionHeaderBar header_bar;
 
        public Gtk.Widget content_box {
                get { return box; }


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