mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
[options] Fix two deprecation messages.
This commit is contained in:
parent
0213787a2f
commit
418bb7d0cc
@ -226,7 +226,7 @@
|
||||
(let ((defval (if default (default) '())))
|
||||
(gnc-make-account-sel-limited-option section name key docstring defval '())))
|
||||
(define-public (gnc:make-multichoice-option section name key docstring default multichoice)
|
||||
(issue-deprecation-warning "gnc:make-multichoice-option is deprecated. Make and register the option in one command with gnc-register-multichoice-option.")
|
||||
(issue-deprecation-warning "gnc:make-multichoice-option is deprecated. Make and register the option in one command with gnc:register-multichoice-option.")
|
||||
(let ((defval (cond ((symbol? default)
|
||||
(symbol->string default))
|
||||
((number? default)
|
||||
@ -339,7 +339,6 @@
|
||||
;; because we need to transform the default argument first depending on its
|
||||
;; Scheme type.
|
||||
(define-public (gnc:register-multichoice-option options section name key docstring default multichoice)
|
||||
(issue-deprecation-warning "gnc:make-multichoice-option is deprecated. Make and register the option in one command with gnc-register-multichoice-option.")
|
||||
(let ((defval (cond ((symbol? default)
|
||||
(symbol->string default))
|
||||
((number? default)
|
||||
|
Loading…
Reference in New Issue
Block a user