Bill Nottingham 918e2e9
commit cab4dc5a959f150a4d0f7514d3e87e4dd3ae2e7b
Bill Nottingham 918e2e9
Author: Geert Janssens <janssens-geert@telenet.be>
Bill Nottingham 918e2e9
Date:   Mon Mar 21 15:09:43 2011 +0000
Bill Nottingham 918e2e9
Bill Nottingham 918e2e9
    [PATCH 1/4] Bug #615168: Remove spurious (require 'hash-table) instances
Bill Nottingham 918e2e9
    
Bill Nottingham 918e2e9
    Patch by Andy Wingo.
Bill Nottingham 918e2e9
    
Bill Nottingham 918e2e9
    There is nothing that the slib hash-table module provides that was used
Bill Nottingham 918e2e9
    in any of these files; they all used Guile's stock hash tables.
Bill Nottingham 918e2e9
    
Bill Nottingham 918e2e9
    git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20435 57a11ea4-9604-0410-9ed3-97b8803252fd
Bill Nottingham 918e2e9
Bill Nottingham 918e2e9
diff --git a/src/app-utils/c-interface.scm b/src/app-utils/c-interface.scm
Bill Nottingham 918e2e9
index 9827d21..10837a4 100644
Bill Nottingham 918e2e9
--- a/src/app-utils/c-interface.scm
Bill Nottingham 918e2e9
+++ b/src/app-utils/c-interface.scm
Bill Nottingham 918e2e9
@@ -18,8 +18,6 @@
Bill Nottingham 918e2e9
 (use-modules (ice-9 slib))
Bill Nottingham 918e2e9
 (use-modules (ice-9 syncase))
Bill Nottingham 918e2e9
 
Bill Nottingham 918e2e9
-(require 'hash-table)
Bill Nottingham 918e2e9
-
Bill Nottingham 918e2e9
 (define (gnc:error->string tag args)
Bill Nottingham 918e2e9
   (define (write-error port)
Bill Nottingham 918e2e9
     (if (and (list? args) (not (null? args)))
Bill Nottingham 918e2e9
diff --git a/src/app-utils/prefs.scm b/src/app-utils/prefs.scm
Bill Nottingham 918e2e9
index d460646..a0ee256 100644
Bill Nottingham 918e2e9
--- a/src/app-utils/prefs.scm
Bill Nottingham 918e2e9
+++ b/src/app-utils/prefs.scm
Bill Nottingham 918e2e9
@@ -17,8 +17,6 @@
Bill Nottingham 918e2e9
 ;; 51 Franklin Street, Fifth Floor    Fax:    +1-617-542-2652
Bill Nottingham 918e2e9
 ;; Boston, MA  02110-1301,  USA       gnu@gnu.org
Bill Nottingham 918e2e9
 
Bill Nottingham 918e2e9
-(require 'hash-table)
Bill Nottingham 918e2e9
-
Bill Nottingham 918e2e9
 ;; (define gnc:*double-entry-restriction*
Bill Nottingham 918e2e9
 ;;   (gnc:make-config-var
Bill Nottingham 918e2e9
 ;;    "Determines how the splits in a transaction will be balanced. 
Bill Nottingham 918e2e9
diff --git a/src/report/business-reports/aging.scm b/src/report/business-reports/aging.scm
Bill Nottingham 918e2e9
index aa2bfeb..60beb9e 100644
Bill Nottingham 918e2e9
--- a/src/report/business-reports/aging.scm
Bill Nottingham 918e2e9
+++ b/src/report/business-reports/aging.scm
Bill Nottingham 918e2e9
@@ -31,8 +31,6 @@
Bill Nottingham 918e2e9
 (use-modules (gnucash printf))
Bill Nottingham 918e2e9
 (use-modules (gnucash gnc-module))
Bill Nottingham 918e2e9
 
Bill Nottingham 918e2e9
-(require 'hash-table)
Bill Nottingham 918e2e9
-
Bill Nottingham 918e2e9
 (gnc:module-load "gnucash/report/report-system" 0)
Bill Nottingham 918e2e9
 (gnc:module-load "gnucash/business-core" 0)
Bill Nottingham 918e2e9
 
Bill Nottingham 918e2e9
diff --git a/src/report/business-reports/easy-invoice.scm b/src/report/business-reports/easy-invoice.scm
Bill Nottingham 918e2e9
index 59101c9..13e0adb 100644
Bill Nottingham 918e2e9
--- a/src/report/business-reports/easy-invoice.scm
Bill Nottingham 918e2e9
+++ b/src/report/business-reports/easy-invoice.scm
Bill Nottingham 918e2e9
@@ -35,8 +35,6 @@
Bill Nottingham 918e2e9
 (use-modules (gnucash printf))
Bill Nottingham 918e2e9
 (use-modules (gnucash gnc-module))
Bill Nottingham 918e2e9
 
Bill Nottingham 918e2e9
-(require 'hash-table)
Bill Nottingham 918e2e9
-
Bill Nottingham 918e2e9
 (gnc:module-load "gnucash/report/report-system" 0)
Bill Nottingham 918e2e9
 (gnc:module-load "gnucash/business-utils" 0)
Bill Nottingham 918e2e9
 
Bill Nottingham 918e2e9
diff --git a/src/report/business-reports/fancy-invoice.scm b/src/report/business-reports/fancy-invoice.scm
Bill Nottingham 918e2e9
index f568841..344c9b5 100644
Bill Nottingham 918e2e9
--- a/src/report/business-reports/fancy-invoice.scm
Bill Nottingham 918e2e9
+++ b/src/report/business-reports/fancy-invoice.scm
Bill Nottingham 918e2e9
@@ -53,8 +53,6 @@
Bill Nottingham 918e2e9
 (use-modules (gnucash printf))
Bill Nottingham 918e2e9
 (use-modules (gnucash gnc-module))
Bill Nottingham 918e2e9
 
Bill Nottingham 918e2e9
-(require 'hash-table)
Bill Nottingham 918e2e9
-
Bill Nottingham 918e2e9
 (gnc:module-load "gnucash/report/report-system" 0)
Bill Nottingham 918e2e9
 (gnc:module-load "gnucash/business-utils" 0)
Bill Nottingham 918e2e9
 
Bill Nottingham 918e2e9
diff --git a/src/report/business-reports/invoice.scm b/src/report/business-reports/invoice.scm
Bill Nottingham 918e2e9
index a2b1fd8..32cf062 100644
Bill Nottingham 918e2e9
--- a/src/report/business-reports/invoice.scm
Bill Nottingham 918e2e9
+++ b/src/report/business-reports/invoice.scm
Bill Nottingham 918e2e9
@@ -29,8 +29,6 @@
Bill Nottingham 918e2e9
 (use-modules (gnucash printf))
Bill Nottingham 918e2e9
 (use-modules (gnucash gnc-module))
Bill Nottingham 918e2e9
 
Bill Nottingham 918e2e9
-(require 'hash-table)
Bill Nottingham 918e2e9
-
Bill Nottingham 918e2e9
 (gnc:module-load "gnucash/report/report-system" 0)
Bill Nottingham 918e2e9
 (gnc:module-load "gnucash/business-utils" 0)
Bill Nottingham 918e2e9
 
Bill Nottingham 918e2e9
diff --git a/src/report/report-system/report-system.scm b/src/report/report-system/report-system.scm
Bill Nottingham 918e2e9
index 3043314..aaa1a3e 100644
Bill Nottingham 918e2e9
--- a/src/report/report-system/report-system.scm
Bill Nottingham 918e2e9
+++ b/src/report/report-system/report-system.scm
Bill Nottingham 918e2e9
@@ -13,8 +13,6 @@
Bill Nottingham 918e2e9
 (use-modules (srfi srfi-19))
Bill Nottingham 918e2e9
 (use-modules (gnucash gnc-module))
Bill Nottingham 918e2e9
 
Bill Nottingham 918e2e9
-(require 'hash-table)
Bill Nottingham 918e2e9
-
Bill Nottingham 918e2e9
 (gnc:module-load "gnucash/engine" 0)
Bill Nottingham 918e2e9
 (gnc:module-load "gnucash/app-utils" 0)
Bill Nottingham 918e2e9
 (gnc:module-load "gnucash/html" 0)
Bill Nottingham 918e2e9
diff --git a/src/report/standard-reports/standard-reports.scm b/src/report/standard-reports/standard-reports.scm
Bill Nottingham 918e2e9
index 272225c..d30b9a3 100644
Bill Nottingham 918e2e9
--- a/src/report/standard-reports/standard-reports.scm
Bill Nottingham 918e2e9
+++ b/src/report/standard-reports/standard-reports.scm
Bill Nottingham 918e2e9
@@ -14,8 +14,6 @@
Bill Nottingham 918e2e9
 (export gnc:register-report-create)
Bill Nottingham 918e2e9
 (export gnc:register-report-hook)
Bill Nottingham 918e2e9
 
Bill Nottingham 918e2e9
-(require 'hash-table)
Bill Nottingham 918e2e9
-
Bill Nottingham 918e2e9
 (define gnc:*register-report-hash* (make-hash-table 23))
Bill Nottingham 918e2e9
 
Bill Nottingham 918e2e9
 ;; Keep a hash-table of records, keyed off the account type.  Each