Skip to content

Commit

Permalink
Add back, and bring up to date, the debugging function qof_book_print…
Browse files Browse the repository at this point in the history
…_dirty.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23072 57a11ea4-9604-0410-9ed3-97b8803252fd
  • Loading branch information
mtalexander committed Jun 29, 2013
1 parent d81cb73 commit 86434e1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/libqof/qof/qofbook.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 86434e1

Please sign in to comment.