[qofbook.cpp] deprecate qof_book_get_features

This commit is contained in:
Christopher Lam 2022-10-28 21:57:15 +08:00
parent 8192deff37
commit 093aa81ed1

View File

@ -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)
{