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/branches/gnucash-gnome2-dev@9655 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -17,6 +17,8 @@
|
||||
* src/gnome/ui/gnc-main-window-ui.xml: Add the "Close Books" menu
|
||||
item.
|
||||
|
||||
* src/engine/qofid.[ch]: Fix another crash caused by qof changes.
|
||||
|
||||
2003-10-25 David Hampton <hampton@employees.org>
|
||||
|
||||
* src/gnome-utils/dialog-account.[ch]:
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user