r16998 - gnucash/trunk/src/gnome - Close tax information dialog with session.
Andreas Köhler
andi5 at cvs.gnucash.org
Sun Mar 2 13:55:09 EST 2008
Author: andi5
Date: 2008-03-02 13:55:09 -0500 (Sun, 02 Mar 2008)
New Revision: 16998
Trac: http://svn.gnucash.org/trac/changeset/16998
Modified:
gnucash/trunk/src/gnome/dialog-tax-info.c
Log:
Close tax information dialog with session.
Modified: gnucash/trunk/src/gnome/dialog-tax-info.c
===================================================================
--- gnucash/trunk/src/gnome/dialog-tax-info.c 2008-03-02 13:15:11 UTC (rev 16997)
+++ gnucash/trunk/src/gnome/dialog-tax-info.c 2008-03-02 18:55:09 UTC (rev 16998)
@@ -34,6 +34,7 @@
#include "gnc-gconf-utils.h"
#include "gnc-tree-view-account.h"
#include "gnc-component-manager.h"
+#include "gnc-session.h"
#include "qof.h"
#include "gnc-ui.h"
@@ -846,6 +847,7 @@
component_id = gnc_register_gui_component (DIALOG_TAX_INFO_CM_CLASS,
refresh_handler, close_handler,
ti_dialog);
+ gnc_gui_component_set_session (component_id, gnc_get_current_session ());
gnc_gui_component_watch_entity_type (component_id,
GNC_ID_ACCOUNT,
More information about the gnucash-changes
mailing list