mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Emit appropriate deprecation warnings in case code tries to invoke the removed functions. Only for gnc:module-load a more elaborate compat function has been written which should allow code using this obsolete function to continue to function. The emitted deprecation warning will guide the user to update his/her code for future compatibility.
22 lines
562 B
Scheme
Executable File
22 lines
562 B
Scheme
Executable File
(define exit-code 0)
|
|
(setenv "GNC_UNINSTALLED" "1")
|
|
|
|
(display " testing gnome-utils module load ... ")
|
|
(use-modules (gnucash gnome-utils))
|
|
|
|
(cond
|
|
((defined? 'gnc:make-menu)
|
|
(display "Procedure gnc:make-menu found\n"))
|
|
(else
|
|
(display "Failed - procedure gnc:make-menu not found\n")
|
|
(set! exit-code -1)))
|
|
|
|
(cond
|
|
((defined? 'gnc:set-ui-status)
|
|
(display "Procedure gnc:set-ui-status found\n"))
|
|
(else
|
|
(display "Failed - procedure gnc:set-ui-status not found\n")
|
|
(set! exit-code -1)))
|
|
|
|
(exit exit-code)
|