[Gnucash-changes] r13000 - gnucash/trunk - Properly save the guid of owners (partial fix for 328790).

Derek Atkins warlord at cvs.gnucash.org
Sat Jan 28 12:23:48 EST 2006


Author: warlord
Date: 2006-01-28 12:23:47 -0500 (Sat, 28 Jan 2006)
New Revision: 13000
Trac: http://svn.gnucash.org/trac/changeset/13000

Modified:
   gnucash/trunk/ChangeLog
   gnucash/trunk/src/business/business-core/file/gnc-owner-xml-v2.c
Log:
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).



Modified: gnucash/trunk/ChangeLog
===================================================================
--- gnucash/trunk/ChangeLog	2006-01-28 17:17:49 UTC (rev 12999)
+++ gnucash/trunk/ChangeLog	2006-01-28 17:23:47 UTC (rev 13000)
@@ -1,3 +1,9 @@
+2006-01-28  Derek Atkins  <derek at 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 at tuhh.de>
 
 	* configure.in: For HBCI, require aqbanking >= 1.3.0 (released

Modified: gnucash/trunk/src/business/business-core/file/gnc-owner-xml-v2.c
===================================================================
--- gnucash/trunk/src/business/business-core/file/gnc-owner-xml-v2.c	2006-01-28 17:17:49 UTC (rev 12999)
+++ gnucash/trunk/src/business/business-core/file/gnc-owner-xml-v2.c	2006-01-28 17:23:47 UTC (rev 13000)
@@ -84,7 +84,7 @@
 
     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;
 }



More information about the gnucash-changes mailing list