r18497 - gnucash/trunk/src/report/standard-reports - Use resolve-interface instead of resolve-module when loading reports fo only the
Mike Alexander
mta at code.gnucash.org
Mon Dec 14 00:50:58 EST 2009
Author: mta
Date: 2009-12-14 00:50:57 -0500 (Mon, 14 Dec 2009)
New Revision: 18497
Trac: http://svn.gnucash.org/trac/changeset/18497
Modified:
gnucash/trunk/src/report/standard-reports/standard-reports.scm
Log:
Use resolve-interface instead of resolve-module when loading reports fo only the
exported interface gets imported instead of everything defined in the file.
Modified: gnucash/trunk/src/report/standard-reports/standard-reports.scm
===================================================================
--- gnucash/trunk/src/report/standard-reports/standard-reports.scm 2009-12-14 05:48:45 UTC (rev 18496)
+++ gnucash/trunk/src/report/standard-reports/standard-reports.scm 2009-12-14 05:50:57 UTC (rev 18497)
@@ -126,7 +126,7 @@
(lambda (x)
(module-use!
(current-module)
- (resolve-module (append '(gnucash report standard-reports) (list x)))))
+ (resolve-interface (append '(gnucash report standard-reports) (list x)))))
(get-report-list))
(use-modules (gnucash gnc-module))
More information about the gnucash-changes
mailing list