mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix typos in r21743.
BP git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21747 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
4f7f700837
commit
6ebd6f1afe
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user