fix the warning message

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8516 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas 2003-06-10 01:56:14 +00:00
parent a91c6ef9ff
commit 885998ee91

View File

@ -119,11 +119,11 @@ gnc_book_init (GNCBook *book)
book->kvp_data = kvp_frame_new ();
book->data_tables = g_hash_table_new (g_str_hash, g_str_equal);
/* XXX this needs to go away */
gnc_book_populate (book);
book->data_tables = g_hash_table_new (g_str_hash, g_str_equal);
book->book_open = 'y';
book->version = 0;
book->idata = 0;
@ -208,6 +208,16 @@ printf ("duude get commoity table\n");
return gnc_book_get_data (book, GNC_COMMODITY_TABLE);
}
#if 0
void
gnc_book_set_commodity_table(GNCBook *book, gnc_commodity_table *ct)
{
if (!book) return NULL;
return book->commodity_table;
return gnc_book_get_data (book, GNC_COMMODITY_TABLE);
}
#endif
#define GNC_TOP_GROUP "gnc_top_group"
AccountGroup *
gnc_book_get_group (GNCBook *book)