mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
parent
3e676b3587
commit
834d799e57
@ -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 ?
|
||||
|
Loading…
Reference in New Issue
Block a user