gnucash maint: [gnc-budget-view.c] modify GList in reverse

Christopher Lam clam at code.gnucash.org
Thu Mar 10 08:22:27 EST 2022


Updated	 via  https://github.com/Gnucash/gnucash/commit/545830f3 (commit)
	from  https://github.com/Gnucash/gnucash/commit/73ce0e70 (commit)



commit 545830f3b8dfcd33777c54f2ffdbe0744f64630a
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Mar 5 00:08:08 2022 +0800

    [gnc-budget-view.c] modify GList in reverse
    
    because the GList modification in gnc_budget_view_refresh works on the
    tail end (see g_list_last being chopped off successively, followed by
    g_list_append successively), wherease it's much faster to work on the
    head end. Therefore: reverse, modify, and re-reverse.



Summary of changes:
 gnucash/gnome/gnc-budget-view.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)



More information about the gnucash-patches mailing list