r13128 - gnucash/trunk/src/engine - Remove check_open() calls from
Transaction setters.
Chris Shoemaker
chris at cvs.gnucash.org
Sun Feb 5 23:50:06 EST 2006
Author: chris
Date: 2006-02-05 23:50:02 -0500 (Sun, 05 Feb 2006)
New Revision: 13128
Trac: http://svn.gnucash.org/trac/changeset/13128
Modified:
gnucash/trunk/src/engine/Transaction.c
Log:
Remove check_open() calls from Transaction setters.
These calls were probably a copied idiom from the Split setters in this
same file, but Split and Transaction use completely different mechanisms
for managing dirty state. Transactions inherit from QofInstance and so
use the .dirty field. Splits inherit from QofEntity, so their
check_open(split->parent) calls are their way of letting someone know
they've changed.
More information about the gnucash-patches
mailing list