gnucash maint: [trep-engine] fix use of gnc:make-complex-boolean-option
Christopher Lam
clam at code.gnucash.org
Mon Jul 25 11:42:40 EDT 2022
Updated via https://github.com/Gnucash/gnucash/commit/6c100532 (commit)
from https://github.com/Gnucash/gnucash/commit/d3a3e3e9 (commit)
commit 6c100532127e694a11c25265585a8996aa78d0f5
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Mon Jul 25 09:24:18 2022 +0800
[trep-engine] fix use of gnc:make-complex-boolean-option
don't set invalid setter-function-called-cb
diff --git a/gnucash/report/trep-engine.scm b/gnucash/report/trep-engine.scm
index 20d854de2..57b4e8973 100644
--- a/gnucash/report/trep-engine.scm
+++ b/gnucash/report/trep-engine.scm
@@ -973,8 +973,7 @@ be excluded from periodic reporting.")
(gnc:register-trep-option
(gnc:make-complex-boolean-option
gnc:pagename-display (N_ "Memo")
- "d" (G_ "Display the memo?") disp-memo?
- disp-memo?
+ "d" (G_ "Display the memo?") disp-memo? #f
(lambda (x)
(set! disp-memo? x)
(apply-selectable-by-name-display-options))))
@@ -983,8 +982,7 @@ be excluded from periodic reporting.")
(gnc:register-trep-option
(gnc:make-complex-boolean-option
gnc:pagename-display (N_ "Account Name")
- "e" (G_ "Display the account name?") disp-accname?
- disp-accname?
+ "e" (G_ "Display the account name?") disp-accname? #f
(lambda (x)
(set! disp-accname? x)
(apply-selectable-by-name-display-options))))
@@ -993,8 +991,7 @@ be excluded from periodic reporting.")
(gnc:register-trep-option
(gnc:make-complex-boolean-option
gnc:pagename-display (N_ "Other Account Name")
- "h5" (G_ "Display the other account name? (if this is a split transaction, this parameter is guessed).") disp-other-accname?
- disp-other-accname?
+ "h5" (G_ "Display the other account name? (if this is a split transaction, this parameter is guessed).") disp-other-accname? #f
(lambda (x)
(set! disp-other-accname? x)
(apply-selectable-by-name-display-options))))
Summary of changes:
gnucash/report/trep-engine.scm | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
More information about the gnucash-changes
mailing list