mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
* src/engine/rpc/RpcUtils.c (rpcend_build_gncacctlist):
xaccGroupForEachAccountDeeply -> xaccGroupForEachAccount(...TRUE) (rpcend_build_gncacct_verslist): same. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4154 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
74a69a5846
commit
e4ae3e610a
@ -609,7 +609,7 @@ gnc_acctlist * rpcend_build_gncacctlist (AccountGroup *ag)
|
||||
ENTER ("ag=%p", ag);
|
||||
listinfo.end = &alist;
|
||||
listinfo.count = 0;
|
||||
xaccGroupForEachAccountDeeply (ag, add_acctlist_cb, (void *) &listinfo);
|
||||
xaccGroupForEachAccount (ag, add_acctlist_cb, (void *) &listinfo, TRUE);
|
||||
LEAVE ("%d accts", listinfo.count);
|
||||
return alist;
|
||||
}
|
||||
@ -739,7 +739,7 @@ gnc_vers_list * rpcend_build_gncacct_verslist (AccountGroup *ag,
|
||||
listinfo.copyguid = copyguid;
|
||||
listinfo.count = 0;
|
||||
|
||||
xaccGroupForEachAccountDeeply (ag, add_acctvers_cb, (void *) &listinfo);
|
||||
xaccGroupForEachAccount (ag, add_acctvers_cb, (void *) &listinfo, TRUE);
|
||||
|
||||
LEAVE ("%d accts", listinfo.count);
|
||||
return vlist;
|
||||
|
Loading…
Reference in New Issue
Block a user