mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
get rid of this topgroup thing
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@966 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
66617f517c
commit
b54c46c335
@ -47,8 +47,6 @@
|
||||
* knowledge of the internals of the AccountGroup in one file. *
|
||||
\********************************************************************/
|
||||
|
||||
AccountGroup *topgroup = 0x0;
|
||||
|
||||
/********************************************************************\
|
||||
\********************************************************************/
|
||||
void
|
||||
@ -84,8 +82,6 @@ xaccFreeAccountGroup( AccountGroup *grp )
|
||||
int i;
|
||||
if (NULL == grp) return;
|
||||
|
||||
if (grp == topgroup) topgroup = NULL; /* safety device */
|
||||
|
||||
for( i=0; i<grp->numAcc; i++ ) {
|
||||
xaccFreeAccount( grp->account[i] );
|
||||
}
|
||||
|
@ -144,8 +144,4 @@ void xaccConsolidateGrpTransactions (AccountGroup *);
|
||||
Account * xaccGroupGetAccount (AccountGroup *, int);
|
||||
double xaccGroupGetBalance (AccountGroup *);
|
||||
|
||||
|
||||
/** GLOBALS *********************************************************/
|
||||
extern AccountGroup *topgroup;
|
||||
|
||||
#endif /* __XACC_ACCOUNT_GROUP_H__ */
|
||||
|
Loading…
Reference in New Issue
Block a user