mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-23 01:16:43 -06:00
Add missing argument to gnc_session_xxx calls.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7265 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
4e47975a10
commit
a78f77646c
@ -41,7 +41,7 @@ save_xml_file (GNCSession *session, const char *filename_base)
|
||||
io_err = gnc_session_get_error (session);
|
||||
g_return_if_fail (io_err == ERR_BACKEND_NO_ERR);
|
||||
|
||||
gnc_session_save (session);
|
||||
gnc_session_save (session, NULL);
|
||||
io_err = gnc_session_get_error (session);
|
||||
g_return_if_fail (io_err == ERR_BACKEND_NO_ERR);
|
||||
|
||||
@ -96,7 +96,7 @@ save_db_file (GNCSession *session, const char *db_name, const char *mode)
|
||||
db_name, mode))
|
||||
return FALSE;
|
||||
|
||||
gnc_session_save (session);
|
||||
gnc_session_save (session, NULL);
|
||||
io_err = gnc_session_get_error (session);
|
||||
if (!do_test_args (io_err == ERR_BACKEND_NO_ERR,
|
||||
"Saving db session",
|
||||
@ -141,7 +141,7 @@ load_db_file (GNCSession *session, const char *db_name, const char *mode,
|
||||
db_name, mode))
|
||||
return FALSE;
|
||||
|
||||
gnc_session_load (session);
|
||||
gnc_session_load (session, NULL);
|
||||
io_err = gnc_session_get_error (session);
|
||||
if (!do_test_args (io_err == ERR_BACKEND_NO_ERR,
|
||||
"Loading db session",
|
||||
@ -542,7 +542,7 @@ test_trans_query (Transaction *trans, gpointer data)
|
||||
filename))
|
||||
return FALSE;
|
||||
|
||||
gnc_session_load (session);
|
||||
gnc_session_load (session, NULL);
|
||||
io_err = gnc_session_get_error (session);
|
||||
if (!do_test_args (io_err == ERR_BACKEND_NO_ERR,
|
||||
"Loading db session",
|
||||
|
@ -119,7 +119,7 @@ run_test (void)
|
||||
tsmiddle = tsfirst;
|
||||
tsmiddle.tv_sec = (tsfirst.tv_sec + tslast.tv_sec)/2;
|
||||
|
||||
gnc_session_save (session);
|
||||
gnc_session_save (session, NULL);
|
||||
io_err = gnc_session_get_error (session);
|
||||
g_return_if_fail (io_err == ERR_BACKEND_NO_ERR);
|
||||
|
||||
@ -135,7 +135,7 @@ run_test (void)
|
||||
exit(get_rv());
|
||||
}
|
||||
|
||||
gnc_session_save (session);
|
||||
gnc_session_save (session, NULL);
|
||||
io_err = gnc_session_get_error (session);
|
||||
g_return_if_fail (io_err == ERR_BACKEND_NO_ERR);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user