2001-05-11 Dave Peticolas <dave@krondo.com>

* src/gnome/new-user-callbacks.c: fix compiler warning

	* src/engine/gnc-book.c (gnc_book_set_group): fix bug


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4166 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Dave Peticolas 2001-05-11 21:24:19 +00:00
parent cb47354213
commit 957635e51a
3 changed files with 9 additions and 2 deletions

View File

@ -1,5 +1,9 @@
2001-05-11 Dave Peticolas <dave@krondo.com>
* src/gnome/new-user-callbacks.c: fix compiler warning
* src/engine/gnc-book.c (gnc_book_set_group): fix bug
* src/engine/sql/Makefile.am: add files for make dist
2001-05-11 Bill Gribble <grib@billgribble.com>

View File

@ -198,7 +198,10 @@ void
gnc_book_set_group (GNCBook *book, AccountGroup *grp)
{
if(!book) return;
if(book->topgroup) xaccFreeAccountGroup(book->topgroup);
/* Do not free the old topgroup here unless you also fix
* all the other uses of gnc_book_set_group! */
book->topgroup = grp;
}

View File

@ -404,7 +404,7 @@ add_to_ctree_final_account(Account* toadd, gpointer data)
return NULL;
}
void
static void
gnc_new_user_insert_final_accounts(GtkCTree *tree, AccountGroup *group)
{
FinalInsertData data;