mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-11-03 12:50:50 -06:00
[options] Fix two deprecation messages.
This commit is contained in:
1 parent
0213787a2f
commit
418bb7d0cc
1 file changed
+1
-2
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user