[Gnucash-changes] r13530 - gnucash/trunk/src/gnome-utils - Add a
couple of calls to the component manager when closing the
David Hampton
hampton at cvs.gnucash.org
Tue Mar 7 21:26:32 EST 2006
Author: hampton
Date: 2006-03-07 21:26:31 -0500 (Tue, 07 Mar 2006)
New Revision: 13530
Trac: http://svn.gnucash.org/trac/changeset/13530
Modified:
gnucash/trunk/src/gnome-utils/gnc-file.c
Log:
Add a couple of calls to the component manager when closing the
current session.
Modified: gnucash/trunk/src/gnome-utils/gnc-file.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-file.c 2006-03-08 02:20:57 UTC (rev 13529)
+++ gnucash/trunk/src/gnome-utils/gnc-file.c 2006-03-08 02:26:31 UTC (rev 13530)
@@ -624,6 +624,7 @@
current_session = gnc_get_current_session();
qof_session_call_close_hooks(current_session);
gnc_hook_run(HOOK_BOOK_CLOSED, current_session);
+ gnc_close_gui_component_by_session (current_session);
gnc_clear_current_session();
/* load the accounts from the users datafile */
@@ -1111,7 +1112,7 @@
qof_session_call_close_hooks(session);
gnc_hook_run(HOOK_BOOK_CLOSED, session);
-
+ gnc_close_gui_component_by_session (session);
gnc_clear_current_session();
gnc_get_current_session ();
More information about the gnucash-changes
mailing list