Bug#431756: use the correct return value for the xaccAccountForEachTransaction function.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15942 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Joshua Sled 2007-04-20 17:42:31 +00:00
parent 01d7e59bc9
commit 428497a0fe

View File

@ -996,6 +996,10 @@ create_each_transaction_helper(Transaction *template_txn, void *user_data)
new_txn = xaccTransClone(template_txn);
xaccTransBeginEdit(new_txn);
g_debug("creating template txn desc [%s] for sx [%s]",
xaccTransGetDescription(new_txn),
xaccSchedXactionGetName(creation_data->instance->parent->sx));
/* clear any copied KVP data */
qof_instance_set_slots(QOF_INSTANCE(new_txn), kvp_frame_new());
@ -1156,7 +1160,7 @@ create_each_transaction_helper(Transaction *template_txn, void *user_data)
= g_list_append(*(creation_data->created_txn_guids), (gpointer)xaccTransGetGUID(new_txn));
}
return TRUE;
return FALSE;
}
static void