mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix another crash caused by qof changes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9654 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
f40e64ce2c
commit
d02b218875
@ -1,3 +1,7 @@
|
||||
2003-10-26 David Hampton <hampton@employees.org>
|
||||
|
||||
* src/engine/qofid.[ch]: Fix another crash caused by qof changes.
|
||||
|
||||
2003-10-25 David Hampton <hampton@employees.org>
|
||||
|
||||
* src/gnome/druid-stock-split.c: Fix crash caused by qof changes.
|
||||
|
@ -102,10 +102,10 @@ qof_entity_set_guid (QofEntity *ent, const GUID *guid)
|
||||
qof_collection_insert_entity (col, ent);
|
||||
}
|
||||
|
||||
GUID *
|
||||
const GUID *
|
||||
qof_entity_get_guid (QofEntity *ent)
|
||||
{
|
||||
if (!ent) return NULL;
|
||||
if (!ent) return guid_null();
|
||||
return &ent->guid;
|
||||
}
|
||||
|
||||
|
@ -115,7 +115,7 @@ void qof_entity_init (QofEntity *, QofIdType, QofCollection *);
|
||||
void qof_entity_release (QofEntity *);
|
||||
|
||||
/* Return the GUID of this entity */
|
||||
GUID * qof_entity_get_guid (QofEntity *);
|
||||
const GUID * qof_entity_get_guid (QofEntity *);
|
||||
|
||||
/** collections of entities */
|
||||
QofCollection * qof_collection_new (QofIdType type);
|
||||
|
Loading…
Reference in New Issue
Block a user