Comment out unimplemented function. Improve const-correctness.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18796 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming 2010-03-03 20:45:37 +00:00
parent 1077f321da
commit e1f8c70137
2 changed files with 3 additions and 3 deletions

View File

@ -1526,7 +1526,7 @@ leave:
/* ====================================================================== */
gboolean
qof_session_save_in_progress(QofSession *session)
qof_session_save_in_progress(const QofSession *session)
{
return (session && g_atomic_int_get(&session->lock) != 1);
}

View File

@ -219,8 +219,8 @@ const char * qof_session_get_url (const QofSession *session);
* The qof_session_not_saved() subroutine will return TRUE
* if any data in the session hasn't been saved to long-term storage.
*/
gboolean qof_session_not_saved(QofSession *session);
gboolean qof_session_save_in_progress(QofSession *session);
/* gboolean qof_session_not_saved(const QofSession *session); <- unimplemented */
gboolean qof_session_save_in_progress(const QofSession *session);
/** Allows the backend to warn the user if a dataset already exists. */
gboolean qof_session_save_may_clobber_data (const QofSession *session);