gnucash maint: Multiple changes pushed
Christopher Lam
clam at code.gnucash.org
Sat Oct 30 10:40:34 EDT 2021
Updated via https://github.com/Gnucash/gnucash/commit/b5f5129f (commit)
via https://github.com/Gnucash/gnucash/commit/e94ee3bf (commit)
from https://github.com/Gnucash/gnucash/commit/f813f7cd (commit)
commit b5f5129f7d658c296a323b6e5deb3c31c4a3b3ca
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Tue Oct 19 19:21:59 2021 +0800
Shortcut g_list_length comparison against small numbers
It's more efficient to test node && node->next etc when testing GList
length against small numbers
commit e94ee3bfada59b7181eb0de3445ee1ea7004c47f
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Thu Oct 14 22:09:18 2021 +0800
Don't g_strdup char* from scm_to_locale|utf8_string
Both scm_to_locale_string and scm_to_utf8_string return newly
allocated char*. It is not necessary to return a strdup'd char* and
free the original.
Summary of changes:
bindings/guile/glib-guile.c | 6 ++---
bindings/guile/gnc-guile-utils.c | 27 +++--------------------
gnucash/gnome-utils/gnc-main-window.c | 6 ++---
gnucash/gnome/dialog-imap-editor.c | 4 ++--
gnucash/gnome/dialog-invoice.c | 4 ++--
gnucash/gnome/dialog-payment.c | 2 +-
gnucash/gnome/dialog-price-edit-db.c | 4 ++--
gnucash/gnome/dialog-sx-editor.c | 4 ++--
gnucash/gnome/dialog-sx-editor2.c | 4 ++--
gnucash/gnome/dialog-sx-since-last-run.c | 6 +++--
gnucash/gnome/gnc-plugin-page-account-tree.c | 4 ++--
gnucash/gnome/gnc-plugin-page-sx-list.c | 6 ++---
gnucash/register/ledger-core/gnc-ledger-display.c | 2 +-
libgnucash/engine/Recurrence.c | 9 ++++----
libgnucash/engine/gncIDSearch.c | 4 +---
libgnucash/engine/qofquery.cpp | 9 ++++----
16 files changed, 40 insertions(+), 61 deletions(-)
More information about the gnucash-patches
mailing list