Skip to content

Commit

Permalink
[qofbook.cpp] deprecate qof_book_get_features
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherlam committed Oct 28, 2022
1 parent 8192def commit 093aa81
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libgnucash/engine/qofbook.cpp
Expand Up @@ -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)
{
Expand Down

0 comments on commit 093aa81

Please sign in to comment.