[balsa] Remove unused initializer



commit f599fefe71b42f842b65290f80669d4c015f002e
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Sun Jun 25 22:23:54 2017 -0400

    Remove unused initializer
    
        * src/toolbar-prefs.c (tp_page_swap_rows):

 ChangeLog           |    6 ++++++
 src/toolbar-prefs.c |    3 +--
 2 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 95ed867..c2bb935 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2017-06-25  Peter Bloomfield  <pbloomfield bellsouth net>
 
+       Remove unused initializer
+
+       * src/toolbar-prefs.c (tp_page_swap_rows):
+
+2017-06-25  Peter Bloomfield  <pbloomfield bellsouth net>
+
        Decode all RFC-2047-encoded headers
 
        * libbalsa/message.c
diff --git a/src/toolbar-prefs.c b/src/toolbar-prefs.c
index 8291049..26721cb 100644
--- a/src/toolbar-prefs.c
+++ b/src/toolbar-prefs.c
@@ -789,8 +789,7 @@ tp_page_swap_rows(ToolbarPage * page, gboolean forward)
 {
     GtkTreeModel *model =
         gtk_tree_view_get_model(GTK_TREE_VIEW(page->current));
-    GtkTreeSelection *selection =
-        gtk_tree_view_get_selection(GTK_TREE_VIEW(page->current));
+    GtkTreeSelection *selection;
     GtkTreeIter iter;
     GtkTreeIter tmp_iter;
     GtkTreePath *tmp_path;


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