[balsa/wip/gtk4: 340/351] balsa-mblist: Make it private



commit a866de2fa390b8488c7225a229d1695eb9892fa7
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Sun May 6 19:24:32 2018 -0400

    balsa-mblist: Make it private
    
    No getters or setters needed.

 src/balsa-mblist.c |   13 +++++++++++++
 src/balsa-mblist.h |   13 -------------
 2 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/src/balsa-mblist.c b/src/balsa-mblist.c
index 632d3e8..d4086ac 100644
--- a/src/balsa-mblist.c
+++ b/src/balsa-mblist.c
@@ -134,6 +134,19 @@ static void bmbl_expand_to_row(BalsaMBList * mblist, GtkTreePath * path);
 
 /* class methods */
 
+struct _BalsaMBList {
+    GtkTreeView tree_view;
+
+    /* shall the number of messages be displayed ? */
+    gboolean display_info;
+    /* signal handler id */
+    gulong toggled_handler_id;
+
+    /* to set sort order in an idle callback */
+    gint sort_column_id;
+    guint sort_idle_id;
+};
+
 G_DEFINE_TYPE(BalsaMBList, balsa_mblist, GTK_TYPE_TREE_VIEW)
 
 static void
diff --git a/src/balsa-mblist.h b/src/balsa-mblist.h
index 93f7b84..e1a5373 100644
--- a/src/balsa-mblist.h
+++ b/src/balsa-mblist.h
@@ -31,19 +31,6 @@ G_DECLARE_FINAL_TYPE(BalsaMBList,
                      MBLIST,
                      GtkTreeView);
 
-struct _BalsaMBList {
-    GtkTreeView tree_view;
-
-    /* shall the number of messages be displayed ? */
-    gboolean display_info;
-    /* signal handler id */
-    gulong toggled_handler_id;
-
-    /* to set sort order in an idle callback */
-    gint sort_column_id;
-    guint sort_idle_id;
-};
-
 GtkWidget    *balsa_mblist_new(void);
 
 GtkTreeStore *balsa_mblist_get_store(void);


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