gnucash maint: Addendnum to ad20f859c -- _ must be exported

Christopher Lam clam at code.gnucash.org
Mon Aug 3 11:27:11 EDT 2020


Updated	 via  https://github.com/Gnucash/gnucash/commit/f35a2688 (commit)
	from  https://github.com/Gnucash/gnucash/commit/ad20f859 (commit)



commit f35a26882da76d0d09464cf0d38cc190a79d6894
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Mon Aug 3 18:06:35 2020 +0800

    Addendnum to ad20f859c -- _ must be exported

diff --git a/bindings/guile/core-utils.scm b/bindings/guile/core-utils.scm
index 073a19e89..5d037bc46 100644
--- a/bindings/guile/core-utils.scm
+++ b/bindings/guile/core-utils.scm
@@ -49,6 +49,6 @@
 (cond-expand
   (guile-3)
   (guile-2
-   (define (_ x)
+   (define-public (_ x)
      (issue-deprecation-warning "Using _ to call gettext is disallowed in guile-3 and will be removed in the future. Use G_ instead.")
      (gnc:gettext x))))



Summary of changes:
 bindings/guile/core-utils.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



More information about the gnucash-changes mailing list