diff --git a/src/engine/gncInvoice.c b/src/engine/gncInvoice.c index a1be38b318..242ce3280a 100644 --- a/src/engine/gncInvoice.c +++ b/src/engine/gncInvoice.c @@ -1068,7 +1068,7 @@ gncInvoiceDetachFromLot (GNCLot *lot) kvp = gnc_lot_get_slots (lot); kvp_frame_set_slot_path (kvp, NULL, GNC_INVOICE_ID, GNC_INVOICE_GUID, NULL); qof_instance_set_dirty (QOF_INSTANCE (lot)); - gnc_log_commit_edit (lot); + gnc_lot_commit_edit (lot); } static void @@ -1087,7 +1087,7 @@ gncInvoiceAttachToLot (GncInvoice *invoice, GNCLot *lot) value = kvp_value_new_guid (qof_instance_get_guid (QOF_INSTANCE(invoice))); kvp_frame_set_slot_path (kvp, value, GNC_INVOICE_ID, GNC_INVOICE_GUID, NULL); qof_instance_set_dirty (QOF_INSTANCE (lot)); - gnc_log_commit_edit (lot); + gnc_lot_commit_edit (lot); kvp_value_delete (value); gncInvoiceSetPostedLot (invoice, lot); } diff --git a/src/engine/gncOwner.c b/src/engine/gncOwner.c index 93ad2c9571..fcf4d19be7 100644 --- a/src/engine/gncOwner.c +++ b/src/engine/gncOwner.c @@ -582,7 +582,7 @@ void gncOwnerAttachToLot (const GncOwner *owner, GNCLot *lot) value = kvp_value_new_guid (gncOwnerGetGUID (owner)); kvp_frame_set_slot_path (kvp, value, GNC_OWNER_ID, GNC_OWNER_GUID, NULL); qof_instance_set_dirty (QOF_INSTANCE (lot)); - gnc_log_commit_edit (lot); + gnc_lot_commit_edit (lot); kvp_value_delete (value); }