Destroy Transactions without rebalancing when shutting down the book.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13469 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Chris Shoemaker
2006-03-04 05:10:15 +00:00
parent d0f3042d8f
commit 803e157ed6

View File

@@ -917,6 +917,7 @@ void xaccDisableDataScrubbing(void) { scrub_data = 0; }
/* Check for an implicitly deleted transaction */
static gboolean was_trans_emptied(Transaction *trans)
{
if (qof_book_shutting_down(xaccTransGetBook(trans))) return TRUE;
FOR_EACH_SPLIT(trans, return FALSE);
return TRUE;
}