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:
Mike Alexander 2013-06-29 05:57:52 +00:00
parent d81cb73e0c
commit 86434e10e5

View File

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