r23072 - gnucash/trunk/src/libqof/qof - Add back, and bring up to date, the debugging function qof_book_print_dirty.
Mike Alexander
mta at code.gnucash.org
Sat Jun 29 01:57:52 EDT 2013
Author: mta
Date: 2013-06-29 01:57:52 -0400 (Sat, 29 Jun 2013)
New Revision: 23072
Trac: http://svn.gnucash.org/trac/changeset/23072
Modified:
gnucash/trunk/src/libqof/qof/qofbook.c
Log:
Add back, and bring up to date, the debugging function qof_book_print_dirty.
Modified: gnucash/trunk/src/libqof/qof/qofbook.c
===================================================================
--- gnucash/trunk/src/libqof/qof/qofbook.c 2013-06-29 05:57:44 UTC (rev 23071)
+++ gnucash/trunk/src/libqof/qof/qofbook.c 2013-06-29 05:57:52 UTC (rev 23072)
@@ -190,6 +190,15 @@
}
}
+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)
{
More information about the gnucash-changes
mailing list