Collapse the various "idata" fields into a single field attached to

the QofInstance object.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16042 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
David Hampton
2007-05-03 03:56:31 +00:00
parent cad2164810
commit 9ec864163d
17 changed files with 120 additions and 102 deletions

View File

@@ -274,7 +274,6 @@ xaccInitTransaction (Transaction * trans, QofBook *book)
trans->marker = 0;
trans->orig = NULL;
trans->idata = 0;
qof_instance_init_data (&trans->inst, GNC_ID_TRANS, book);
LEAVE (" ");
}
@@ -314,7 +313,7 @@ xaccTransDump (const Transaction *trans, const char *tag)
printf(" version_chk: %x\n", qof_instance_get_version_check(trans));
printf(" editlevel: %x\n", qof_instance_get_editlevel(trans));
printf(" orig: %p\n", trans->orig);
printf(" idata: %x\n", trans->idata);
printf(" idata: %x\n", qof_instance_get_idata(trans));
printf(" splits: ");
for (node = trans->splits; node; node = node->next)
{
@@ -424,7 +423,6 @@ xaccTransClone (const Transaction *t)
qof_instance_copy_version_check(trans, t);
trans->orig = NULL;
trans->idata = 0;
qof_instance_init_data (&trans->inst, GNC_ID_TRANS, qof_instance_get_book(t));
kvp_frame_delete (trans->inst.kvp_data);