mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Decouple QofBook creation from QofSession.
So that we don't create two books when loading a session. Step 1 to not having a dirty book when we think we should have no book at all.
This commit is contained in:
@@ -114,7 +114,7 @@ extern "C"
|
||||
|
||||
typedef struct QofSessionImpl QofSession;
|
||||
|
||||
QofSession * qof_session_new (void);
|
||||
QofSession * qof_session_new (QofBook* book);
|
||||
void qof_session_destroy (QofSession *session);
|
||||
|
||||
/** The qof_session_swap_data () method swaps the book of
|
||||
|
Reference in New Issue
Block a user