Skip to content

Commit

Permalink
[reconcile-view.c] prepend & reverse
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherlam committed Mar 16, 2022
1 parent 4eec093 commit e0db879
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gnucash/gnome/reconcile-view.c
Expand Up @@ -690,10 +690,11 @@ gnc_reconcile_view_set_list (GNCReconcileView *view, gboolean reconcile)
for (node = list_of_rows; node; node = node->next)
{
GtkTreeRowReference *rowref = gtk_tree_row_reference_new (model, node->data);
rr_list = g_list_append (rr_list, rowref);
rr_list = g_list_prepend (rr_list, rowref);
gtk_tree_path_free (node->data);
}

rr_list = g_list_reverse (rr_list);
for (node = rr_list; node; node = node->next)
{
GtkTreeIter iter;
Expand Down

0 comments on commit e0db879

Please sign in to comment.