r21208 - gnucash/trunk/src - [Decruftification] Combine xaccCloneAccountSimple and

John Ralls jralls at code.gnucash.org
Mon Aug 22 14:19:04 EDT 2011


Author: jralls
Date: 2011-08-22 14:19:03 -0400 (Mon, 22 Aug 2011)
New Revision: 21208
Trac: http://svn.gnucash.org/trac/changeset/21208

Modified:
   gnucash/trunk/src/engine/Account.c
   gnucash/trunk/src/engine/Account.h
   gnucash/trunk/src/gnome/assistant-hierarchy.c
Log:
[Decruftification] Combine xaccCloneAccountSimple and
xaccCloneAccountCommon into a single xaccCloneAccount

Since removing the qofinstance-gemini xaccCloneAccount means that the
only user of xaccCloneAccountCommon is xaccCloneAccountSimple, which
adds only one line beyond calling xaccCloneAccountCommon, combine them
into a single function, called xaccCloneAccount (no need to make it
simple since it's the only one.)



More information about the gnucash-patches mailing list