gnucash maint: Restore Scheme definitions of GNC-COMMODITY-NS-CURRENCY & -NONCURRENCY.
John Ralls
jralls at code.gnucash.org
Fri Mar 11 14:58:04 EST 2022
Updated via https://github.com/Gnucash/gnucash/commit/1373233c (commit)
from https://github.com/Gnucash/gnucash/commit/19479c3a (commit)
commit 1373233cd05c0e9806f586fd53a55d561255f650
Author: John Ralls <jralls at ceridwen.us>
Date: Fri Mar 11 11:57:48 2022 -0800
Restore Scheme definitions of GNC-COMMODITY-NS-CURRENCY & -NONCURRENCY.
Overzealously removed in PR 1073.
diff --git a/bindings/guile/engine.scm b/bindings/guile/engine.scm
index c7697068e..76be35339 100644
--- a/bindings/guile/engine.scm
+++ b/bindings/guile/engine.scm
@@ -37,6 +37,9 @@
(export account-full-name<?)
(export accounts-get-children-depth)
+(define-public GNC_COMMODITY_NS_CURRENCY "CURRENCY")
+(define-public GNC_COMMODITY_NS_NONCURRENCY (gettext "ALL NON-CURRENCY"))
+
(define (gnc-pricedb-lookup-latest-before-t64 . args)
(issue-deprecation-warning "gnc-pricedb-lookup-latest-before-t64 has been renamed to gnc-pricedb-lookup-nearest-before-t64")
(apply gnc-pricedb-lookup-nearest-before-t64 args))
Summary of changes:
bindings/guile/engine.scm | 3 +++
1 file changed, 3 insertions(+)
More information about the gnucash-changes
mailing list