[devhelp/wip/swilmet/various-code-improvements: 7/17] sidebar: more logically group instance variables



commit f80ea2e774231619f244563c729a885b6cbf4f78
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Fri Oct 9 16:54:08 2015 +0200

    sidebar: more logically group instance variables
    
    https://bugzilla.gnome.org/show_bug.cgi?id=756341

 src/dh-sidebar.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/dh-sidebar.c b/src/dh-sidebar.c
index be03e0f..5962340 100644
--- a/src/dh-sidebar.c
+++ b/src/dh-sidebar.c
@@ -30,17 +30,17 @@
 #include "dh-book-tree.h"
 
 typedef struct {
-        DhKeywordModel          *model;
-
         DhBookManager           *book_manager;
 
         DhLink                  *selected_link;
 
+        DhBookTree              *book_tree;
+        GtkScrolledWindow       *sw_book_tree;
+
         GtkEntry                *entry;
+        DhKeywordModel          *model;
         GtkTreeView             *hitlist;
         GtkScrolledWindow       *sw_hitlist;
-        DhBookTree              *book_tree;
-        GtkScrolledWindow       *sw_book_tree;
 
         GCompletion             *completion;
         guint                    idle_complete_id;


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