gnucash maint: [engine.i] gnc_budget_get_account_period_note to be freed by the caller

Christopher Lam clam at code.gnucash.org
Tue Aug 24 21:34:53 EDT 2021


Updated	 via  https://github.com/Gnucash/gnucash/commit/37cb886d (commit)
	from  https://github.com/Gnucash/gnucash/commit/c55ab503 (commit)



commit 37cb886de5daf779673435b59bb9b2607b8acf0c
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Wed Aug 25 09:12:25 2021 +0800

    [engine.i] gnc_budget_get_account_period_note to be freed by the caller
    
    amendment to last commit.
    
    this pair of changes was necessary to allow the GValue to be unset.

diff --git a/bindings/engine.i b/bindings/engine.i
index 42c8baf74..a8fe5827d 100644
--- a/bindings/engine.i
+++ b/bindings/engine.i
@@ -131,6 +131,8 @@ functions. */
 %newobject gnc_localtime;
 %newobject gnc_gmtime;
 
+%newobject gnc_budget_get_account_period_note;
+
 /* Parse the header file to generate wrappers */
 %inline {
   static QofIdType QOF_ID_BOOK_SCM (void) { return QOF_ID_BOOK; }



Summary of changes:
 bindings/engine.i | 2 ++
 1 file changed, 2 insertions(+)



More information about the gnucash-changes mailing list