mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
[gnc-lot] g_value_unset
This commit is contained in:
parent
c9565abe8b
commit
badd976e11
@ -469,6 +469,7 @@ gnc_lot_set_title (GNCLot *lot, const char *str)
|
||||
qof_instance_set_kvp (QOF_INSTANCE (lot), &v, 1, "title");
|
||||
qof_instance_set_dirty(QOF_INSTANCE(lot));
|
||||
gnc_lot_commit_edit(lot);
|
||||
g_value_unset (&v);
|
||||
}
|
||||
|
||||
void
|
||||
@ -482,6 +483,7 @@ gnc_lot_set_notes (GNCLot *lot, const char *str)
|
||||
qof_instance_set_kvp (QOF_INSTANCE (lot), &v, 1, "notes");
|
||||
qof_instance_set_dirty(QOF_INSTANCE(lot));
|
||||
gnc_lot_commit_edit(lot);
|
||||
g_value_unset (&v);
|
||||
}
|
||||
|
||||
/* ============================================================= */
|
||||
|
Loading…
Reference in New Issue
Block a user