mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-12-01 13:09:41 -06:00
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:
parent
1077f321da
commit
e1f8c70137
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user