mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Replace the three bool parameters to qof_session_begin to an enum.
For clarity. In so doing found the backend behavior a bit inconsistent so it's modified to do what the enum values indicate. In the course of changing the various calls I found some implementation errors in the back end and corrected them.
This commit is contained in:
@@ -32,7 +32,7 @@ int main()
|
||||
gnc_engine_init(0, no_args);
|
||||
|
||||
s = qof_session_new(NULL);
|
||||
qof_session_begin(s, testurl, 0, 1, 0);
|
||||
qof_session_begin(s, testurl, SESSION_NEW_STORE);
|
||||
qof_session_load(s, NULL);
|
||||
qof_session_save(s, NULL);
|
||||
qof_session_end(s);
|
||||
|
||||
Reference in New Issue
Block a user