[gnome-games/wip/exalm/views: 13/17] collection-view: Make 'box' and '_header_bar' private



commit d9fabb9aef4cdbef31d0cd339df02fb706f93dd6
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 a38542ae..675efbd5 100644
--- a/src/ui/collection-view.vala
+++ b/src/ui/collection-view.vala
@@ -5,10 +5,10 @@ private class Games.CollectionView: Gtk.Bin, ApplicationView {
        public signal void game_activated (Game game);
 
        [GtkChild]
-       public CollectionBox box;
+       private CollectionBox box;
 
        [GtkChild (name = "header_bar")]
-       public CollectionHeaderBar _header_bar;
+       private CollectionHeaderBar _header_bar;
 
        public Gtk.HeaderBar header_bar {
                get { return _header_bar; }


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