[Commits] [SCM] claws branch, gtk3, updated. 3.16.0-100-ga337ebf

ticho at claws-mail.org ticho at claws-mail.org
Sat Feb 24 23:37:01 CET 2018


The branch, gtk3 has been updated
       via  a337ebff67d98724632b207830e036fa0ee6229b (commit)
      from  0fc50c6f862b45e2a8675a6ba13bffde926f1981 (commit)

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


- Log -----------------------------------------------------------------
commit a337ebff67d98724632b207830e036fa0ee6229b
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 6f27e03..f77f953 100644
--- a/src/prefs_filtering.c
+++ b/src/prefs_filtering.c
@@ -1931,11 +1931,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