mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Add back, and bring up to date, the debugging function qof_book_print_dirty.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23072 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
d81cb73e0c
commit
86434e10e5
@ -190,6 +190,15 @@ void qof_book_mark_session_dirty (QofBook *book)
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
qof_book_print_dirty (const QofBook *book)
|
||||
{
|
||||
if (qof_book_session_not_saved(book))
|
||||
printf("book is dirty.\n");
|
||||
qof_book_foreach_collection
|
||||
(book, (QofCollectionForeachCB)qof_collection_print_dirty, NULL);
|
||||
}
|
||||
|
||||
time64
|
||||
qof_book_get_session_dirty_time (const QofBook *book)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user