Remove functions to be deprecated in libqof2. (Pass One - trivial

substitutions)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13545 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
David Hampton
2006-03-09 02:29:29 +00:00
parent 58cbae9911
commit 41db89c516
30 changed files with 89 additions and 86 deletions

View File

@@ -400,7 +400,7 @@ xaccTransClone (const Transaction *t)
Split *split;
GList *node;
gnc_engine_suspend_events();
qof_event_suspend();
trans = g_new0 (Transaction, 1);
trans->date_entered = t->date_entered;
@@ -427,7 +427,7 @@ xaccTransClone (const Transaction *t)
}
qof_instance_set_dirty(QOF_INSTANCE(trans));
xaccTransCommitEdit(trans);
gnc_engine_resume_events();
qof_event_resume();
return trans;
}
@@ -942,7 +942,7 @@ static void trans_cleanup_commit(Transaction *trans)
/* ------------------------------------------------- */
/* Make sure all associated splits are in proper order
* in their accounts with the correct balances. */
gnc_engine_suspend_events();
qof_event_suspend();
/* Iterate over existing splits */
slist = g_list_copy(trans->splits);
@@ -971,7 +971,7 @@ static void trans_cleanup_commit(Transaction *trans)
}
g_list_free(slist);
gnc_engine_resume_events();
qof_event_resume();
xaccTransWriteLog (trans, 'C');