From cc4944e536fff07258aec299bc80785829b74c12 Mon Sep 17 00:00:00 2001 From: Christopher Lam Date: Fri, 28 Jun 2019 10:59:50 +0800 Subject: [PATCH] [html-table] fix never-used function and deprecate --- gnucash/report/report-system/html-table.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnucash/report/report-system/html-table.scm b/gnucash/report/report-system/html-table.scm index 357881b6d1..7d6d5c7625 100644 --- a/gnucash/report/report-system/html-table.scm +++ b/gnucash/report/report-system/html-table.scm @@ -569,11 +569,13 @@ (cons (cons (cons current-new current-existing) (car rest-result)) (cdr rest-result))))) + (issue-deprecation-warning "gnc:html-table-prepend-column! is unused.") (let* ((existing-data (reverse (gnc:html-table-data table))) (existing-length (length existing-data)) (newcol-length (length newcol))) (if (<= newcol-length existing-length) - (gnc:html-table-set-data! + (gnc:html-table-set-data! + table (reverse (car (prepend-to-element newcol existing-data