fix include file usage.

Note this change causes book not to be marked as saved;
this is moved to gnc-session and will be checked in shortly.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8680 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas 2003-06-24 23:57:08 +00:00
parent 3e676b3587
commit 834d799e57

View File

@ -29,6 +29,7 @@
#include "Backend.h"
#include "global-options.h"
#include "gnc-book.h"
#include "gnc-commodity.h"
#include "gnc-component-manager.h"
#include "gnc-engine-util.h"
@ -43,9 +44,6 @@
#include "gnc-ui-util.h"
#include "messages.h"
/* FIXME: this is wrong. This file should not need this include. */
#include "gnc-book-p.h"
/** GLOBALS *********************************************************/
/* This static indicates the debugging module that this .o belongs to. */
static short module = MOD_GUI;
@ -689,8 +687,6 @@ gnc_file_save (void)
gnc_add_history (session);
gnc_book_mark_saved (gnc_session_get_book (session));
/* save the main window state */
scm_call_1 (scm_c_eval_string("gnc:main-window-save-state"),
(session ?