[Commits] [SCM] claws branch, master, updated. 3.16.0-71-g209fd7c

ticho at claws-mail.org ticho at claws-mail.org
Sat Feb 24 23:36:40 CET 2018


The branch, master has been updated
       via  209fd7cf22be0b682f76195b54732206918dd5b6 (commit)
      from  0d820fab8033d6411759a411d9c314029926c44d (commit)

Summary of changes:
 src/prefs_filtering.c |    4 ----
 1 file changed, 4 deletions(-)


- Log -----------------------------------------------------------------
commit 209fd7cf22be0b682f76195b54732206918dd5b6
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Sat Feb 24 23:35:26 2018 +0100

    Merge needless three gtk_tree_model_get() calls into one.

diff --git a/src/prefs_filtering.c b/src/prefs_filtering.c
index 8424ff8..5cf8fb3 100644
--- a/src/prefs_filtering.c
+++ b/src/prefs_filtering.c
@@ -1932,11 +1932,7 @@ static void prefs_filtering_select_row(GtkTreeView *list_view, GtkTreePath *path
 
 			gtk_tree_model_get(model, &iter,
 					   PREFS_FILTERING_RULE, &filtering_str,
-					   -1);
-			gtk_tree_model_get(model, &iter,
 					   PREFS_FILTERING_NAME, &name,
-					   -1);
-			gtk_tree_model_get(model, &iter,
 					   PREFS_FILTERING_ACCOUNT_ID, &account_id,
 					   -1);
 

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list