gnucash maint: g_list_free_full requires a GDestroyNotify

Christopher Lam clam at code.gnucash.org
Sat Oct 9 00:22:56 EDT 2021


Updated	 via  https://github.com/Gnucash/gnucash/commit/23d964a6 (commit)
	from  https://github.com/Gnucash/gnucash/commit/0bce6a1d (commit)



commit 23d964a6a477d0790d84f0435d2fe8b2bf2beedb
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Oct 9 12:03:11 2021 +0800

    g_list_free_full requires a GDestroyNotify
    
    error in f4941a5b0

diff --git a/bindings/guile/gnc-engine-guile.c b/bindings/guile/gnc-engine-guile.c
index 3873e0ea3..431acd301 100644
--- a/bindings/guile/gnc-engine-guile.c
+++ b/bindings/guile/gnc-engine-guile.c
@@ -334,7 +334,7 @@ gnc_scm2guid_glist (SCM guids_scm)
 static inline void
 gnc_guid_glist_free (GList *guids)
 {
-    g_list_free_full (guids, guid_free);
+    g_list_free_full (guids, (GDestroyNotify)guid_free);
 }
 
 static SCM



Summary of changes:
 bindings/guile/gnc-engine-guile.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



More information about the gnucash-changes mailing list