gnucash maint: [qofbook.cpp] deprecate qof_book_get_features
Christopher Lam
clam at code.gnucash.org
Fri Oct 28 09:58:21 EDT 2022
Updated via https://github.com/Gnucash/gnucash/commit/093aa81e (commit)
from https://github.com/Gnucash/gnucash/commit/8192deff (commit)
commit 093aa81ed1f4f638775212af4ee61d9e5d63fa07
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Fri Oct 28 21:57:15 2022 +0800
[qofbook.cpp] deprecate qof_book_get_features
diff --git a/libgnucash/engine/qofbook.cpp b/libgnucash/engine/qofbook.cpp
index da4e2c843..cbed9cb2d 100644
--- a/libgnucash/engine/qofbook.cpp
+++ b/libgnucash/engine/qofbook.cpp
@@ -1228,6 +1228,8 @@ qof_book_get_features (QofBook *book)
GHashTable *features = g_hash_table_new_full (g_str_hash, g_str_equal,
NULL, g_free);
+ PWARN ("qof_book_get_features is now deprecated.");
+
auto slot = frame->get_slot({GNC_FEATURES});
if (slot != nullptr)
{
Summary of changes:
libgnucash/engine/qofbook.cpp | 2 ++
1 file changed, 2 insertions(+)
More information about the gnucash-changes
mailing list