gnucash maint: Multiple changes pushed

Christopher Lam clam at
Tue Apr 19 11:05:30 EDT 2022

Updated	 via (commit)
	 via (commit)
	 via (commit)
	from (commit)

commit efbc12b321aa8d9ff596c72180c70b3f2ec0f8eb
Author: Christopher Lam <christopher.lck at>
Date:   Tue Apr 19 22:49:26 2022 +0800

    [gnc-main-window] page->window is not main_window, skip warning
    This function gets called for both regular register *and* the embedded
    register in the SX template editor. The latter is not a main_window,
    and launching the SX editor would lead to warnings.

commit 37791b608c6bcfff03365a01c1282419089e5975
Author: Christopher Lam <christopher.lck at>
Date:   Tue Apr 19 22:42:54 2022 +0800

    [gnc-plugin-page-register] if account==NULL, skip AccountIsPriced
    because gnc_plugin_page_register_ui_initial_state may be called for
    non-account registers (eg the sx editor) and account may be null,
    don't call xaccAccountIsPriced on null account.

commit 394e0a4b714d0f022a6f07694b013425ae8ebbcb
Author: Christopher Lam <christopher.lck at>
Date:   Tue Apr 19 22:15:18 2022 +0800

    [gnc-sx-instance-model.c] leak: don't strdup char* for xaccTransSetNotes
    For a while now, xaccTransSetNotes would strdup the notes. Don't need
    to strdup it beforehand.

Summary of changes:
 gnucash/gnome-utils/gnc-main-window.c        | 6 +++++-
 gnucash/gnome/gnc-plugin-page-register.c     | 2 +-
 libgnucash/app-utils/gnc-sx-instance-model.c | 4 +---
 3 files changed, 7 insertions(+), 5 deletions(-)

More information about the gnucash-patches mailing list