r16582 - gnucash/branches/gda-dev/src - When initially loading accounts, an account's parent could be later in

Phil Longstaff plongstaff at cvs.gnucash.org
Wed Nov 7 14:54:14 EST 2007


Author: plongstaff
Date: 2007-11-07 14:54:13 -0500 (Wed, 07 Nov 2007)
New Revision: 16582
Trac: http://svn.gnucash.org/trac/changeset/16582

Modified:
   gnucash/branches/gda-dev/src/backend/gda/gnc-account-gda.c
   gnucash/branches/gda-dev/src/backend/gda/gnc-backend-gda.c
   gnucash/branches/gda-dev/src/backend/gda/gnc-book-gda.c
   gnucash/branches/gda-dev/src/backend/gda/gnc-budget-gda.c
   gnucash/branches/gda-dev/src/backend/gda/gnc-commodity-gda.c
   gnucash/branches/gda-dev/src/backend/gda/gnc-lots-gda.c
   gnucash/branches/gda-dev/src/backend/gda/gnc-price-gda.c
   gnucash/branches/gda-dev/src/backend/gda/gnc-schedxaction-gda.c
   gnucash/branches/gda-dev/src/backend/gda/gnc-transaction-gda.c
   gnucash/branches/gda-dev/src/engine/SX-book.c
   gnucash/branches/gda-dev/src/gnome-utils/gnc-file.c
Log:
When initially loading accounts, an account's parent could be later in
the list and therefore not exist yet.  Keep track of these orphaned
accounts and when all accounts are loaded, look for those whose parent
didn't exist yet and match it with its parent.





More information about the gnucash-patches mailing list