From 430eb972f71c699a71c00d84742db3b3e10a1f2f Mon Sep 17 00:00:00 2001 From: Rob Browning Date: Sun, 14 Oct 2001 17:51:48 +0000 Subject: [PATCH] * src/report/utility-reports/hello-world.scm: added use-modules. (hello-world-renderer): use share-dir config var, not bare binding. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5629 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/report/utility-reports/hello-world.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/report/utility-reports/hello-world.scm b/src/report/utility-reports/hello-world.scm index 2155fbad45..706d2a219e 100644 --- a/src/report/utility-reports/hello-world.scm +++ b/src/report/utility-reports/hello-world.scm @@ -5,11 +5,12 @@ ;; new reports for GnuCash. (define-module (gnucash report hello-world)) +(use-modules (gnucash bootstrap) (g-wrapped gw-gnc)) ;; FIXME: delete after we finish modularizing. +(use-modules (gnucash gnc-module)) (debug-enable 'debug) (debug-enable 'backtrace) -(use-modules (gnucash gnc-module)) (gnc:module-load "gnucash/report/report-system" 0) ;; This function will generate a set of options that GnuCash @@ -324,7 +325,7 @@ See the guile (scheme) source code in %s \ for details on writing your own reports, \ or extending existing reports.") (gnc:html-markup-tt - gnc:_share-dir-default_ "/gnucash/scm/report"))) + (gnc:config-var-value-get gnc:*share-dir*) "/gnucash/scm/report"))) (gnc:html-markup-p (gnc:html-markup/format (_ "For help on writing reports, or to contribute your brand \