Remove more functions to be deprecated in libqof2. (Pass Two - more

trivial substitutions, some simple translations.)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13547 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
David Hampton
2006-03-09 03:48:49 +00:00
parent db890792bb
commit 61a12b2715
59 changed files with 244 additions and 241 deletions

View File

@@ -220,16 +220,16 @@ void gen_event_trans (Transaction *trans)
if (account)
{
xaccGroupMarkNotSaved (account->parent);
gnc_engine_gen_event (&account->inst.entity, GNC_EVENT_MODIFY);
qof_event_gen (&account->inst.entity, QOF_EVENT_MODIFY, NULL);
}
if (lot)
{
/* A change of transaction date might affect opening date of lot */
gnc_engine_gen_event (&lot->inst.entity, GNC_EVENT_MODIFY);
qof_event_gen (&lot->inst.entity, QOF_EVENT_MODIFY, NULL);
}
}
#endif
gnc_engine_gen_event (&trans->inst.entity, GNC_EVENT_MODIFY);
qof_event_gen (&trans->inst.entity, QOF_EVENT_MODIFY, NULL);
}
/********************************************************************\
@@ -276,7 +276,7 @@ xaccMallocTransaction (QofBook *book)
trans = g_new(Transaction, 1);
xaccInitTransaction (trans, book);
gnc_engine_gen_event (&trans->inst.entity, GNC_EVENT_CREATE);
qof_event_gen (&trans->inst.entity, QOF_EVENT_CREATE, NULL);
return trans;
}
@@ -889,7 +889,7 @@ do_destroy (Transaction *trans)
if (!shutting_down)
xaccTransWriteLog (trans, 'D');
gnc_engine_gen_event (&trans->inst.entity, GNC_EVENT_DESTROY);
qof_event_gen (&trans->inst.entity, QOF_EVENT_DESTROY, NULL);
/* We only own the splits that still think they belong to us. */
trans->splits = g_list_copy(trans->splits);