Merge needless three gtk_tree_model_get() calls into one.
authorAndrej Kacian <ticho@claws-mail.org>
Sat, 24 Feb 2018 22:35:26 +0000 (23:35 +0100)
committerAndrej Kacian <ticho@claws-mail.org>
Sat, 24 Feb 2018 22:35:26 +0000 (23:35 +0100)
src/prefs_filtering.c

index 8424ff8..5cf8fb3 100644 (file)
@@ -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);