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:
John Ralls
2018-06-17 16:43:33 -07:00
parent 0a4347bd5e
commit 8ff5af4c19
21 changed files with 146 additions and 145 deletions

View File

@@ -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