Properly save the guid of owners (partial fix for 328790).

* src/business/business-core/file/gnc-owner-xml-v2.c:
	  GncOwner is not a QOF_INSTANCE.  Get the GUID correctly.
	  Fixes part of #328790 (but not all of it).



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13000 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Derek Atkins 2006-01-28 17:23:47 +00:00
parent f46c5dadb9
commit 3ab99cab85
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2006-01-28 Derek Atkins <derek@ihtfp.com>
* src/business/business-core/file/gnc-owner-xml-v2.c:
GncOwner is not a QOF_INSTANCE. Get the GUID correctly.
Fixes part of #328790 (but not all of it).
2006-01-28 Christian Stimming <stimming@tuhh.de>
* configure.in: For HBCI, require aqbanking >= 1.3.0 (released

View File

@ -84,7 +84,7 @@ gnc_owner_to_dom_tree (const char *tag, GncOwner *owner)
xmlAddChild (ret, text_to_dom_tree (owner_type_string, type_str));
xmlAddChild (ret, guid_to_dom_tree (owner_id_string,
qof_instance_get_guid (QOF_INSTANCE(owner))));
gncOwnerGetGUID (owner)));
return ret;
}