gnucash maint: Replace overly indirect gnc_business_get_default_tax_table.
John Ralls
jralls at code.gnucash.org
Thu Aug 22 15:37:00 EDT 2019
Updated via https://github.com/Gnucash/gnucash/commit/fcc16538 (commit)
from https://github.com/Gnucash/gnucash/commit/33b1a19e (commit)
commit fcc1653822227bc1d4ad0a6153e08541a5499f37
Author: John Ralls <jralls at ceridwen.us>
Date: Thu Aug 22 12:23:09 2019 -0700
Replace overly indirect gnc_business_get_default_tax_table.
With gncTaxTableGetDefault.
qof_book_get_default_tax_table would have been even better but it
would have created a circular dependency between QofBook and
GncTaxTable.
Summary of changes:
gnucash/register/ledger-core/gncEntryLedgerLoad.c | 10 ++--
libgnucash/app-utils/CMakeLists.txt | 2 -
libgnucash/app-utils/business-helpers.c | 60 -----------------------
libgnucash/app-utils/business-helpers.h | 35 -------------
libgnucash/engine/gncTaxTable.c | 20 ++++++++
libgnucash/engine/gncTaxTable.h | 39 ++++++++-------
libgnucash/engine/qofbook.cpp | 12 +++++
libgnucash/engine/qofbook.h | 1 +
po/POTFILES.in | 1 -
9 files changed, 57 insertions(+), 123 deletions(-)
delete mode 100644 libgnucash/app-utils/business-helpers.c
delete mode 100644 libgnucash/app-utils/business-helpers.h
More information about the gnucash-patches
mailing list