[Gnucash-changes] r12886 - gnucash/trunk/src/gnome - add missing #include

Chris Shoemaker c.shoemaker at cox.net
Thu Jan 19 11:10:58 EST 2006


On Thu, Jan 19, 2006 at 10:58:48AM -0500, David Hampton wrote:
> On Thu, 2006-01-19 at 09:16 -0500, Chris Shoemaker wrote:
> 
> > Modified: gnucash/trunk/src/gnome/top-level.h
> > ===================================================================
> > --- gnucash/trunk/src/gnome/top-level.h	2006-01-19 13:42:20 UTC (rev 12885)
> > +++ gnucash/trunk/src/gnome/top-level.h	2006-01-19 14:16:58 UTC (rev 12886)
> > @@ -25,6 +25,7 @@
> >  
> >  #include <glib.h>
> >  #include <libguile.h>
> > +#include "Account.h"  /* for GNCAccountType */
> 
> 
> This doesn't seem like the appropriate file to have account specific
> functions in it.

Agreed.  So where to put these:

gboolean      gnc_reverse_balance_type (GNCAccountType type);
gboolean      gnc_reverse_balance (Account *account);

?

We could move the whole "reverse_balance" she-bang into engine...

-chris


More information about the gnucash-devel mailing list