r13378 - gnucash/trunk/src - Since QOF no longer keeps track of the
"current" session,
Chris Shoemaker
chris at cvs.gnucash.org
Fri Feb 24 00:53:36 EST 2006
Author: chris
Date: 2006-02-24 00:53:35 -0500 (Fri, 24 Feb 2006)
New Revision: 13378
Trac: http://svn.gnucash.org/trac/changeset/13378
Modified:
gnucash/trunk/src/business/business-gnome/dialog-invoice.c
gnucash/trunk/src/engine/gnc-session.c
gnucash/trunk/src/engine/gnc-session.h
gnucash/trunk/src/gnome-utils/gnc-file.c
Log:
Since QOF no longer keeps track of the "current" session,
qof_session_destroy() no longer clears the current session when we destroy
it. Therefore, explicitly call gnc_clear_current_session() when we want
to destroy the current session.
Also, avoid accidentally creating a new book and session if there is no
open book/current session when we run the bill reminder.
More information about the gnucash-patches
mailing list