gnucash maint: Small refactoring of scm config loading.

Geert Janssens gjanssens at code.gnucash.org
Thu Sep 2 10:37:19 EDT 2021


Updated	 via  https://github.com/Gnucash/gnucash/commit/047673a4 (commit)
	from  https://github.com/Gnucash/gnucash/commit/881d3dcd (commit)



commit 047673a493690134eefa44b35e8b9317a2a75b12
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Thu Sep 2 16:35:15 2021 +0200

    Small refactoring of scm config loading.
    
    - Remove and cleanup duplicate code
    - C++-ify
    - Run code in gnucash-cli commands related to reports.
      Users may want to load modified report code via
      config-user.scm which they want to access while
      executing cli commands



Summary of changes:
 gnucash/gnucash-commands.cpp |  6 ++--
 gnucash/gnucash-commands.hpp |  4 +++
 gnucash/gnucash-core-app.cpp | 77 ++++++++++----------------------------------
 gnucash/gnucash-core-app.hpp |  1 +
 gnucash/gnucash.cpp          | 55 ++-----------------------------
 5 files changed, 28 insertions(+), 115 deletions(-)



More information about the gnucash-patches mailing list