Close tax information dialog with session.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16998 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Andreas Köhler 2008-03-02 18:55:09 +00:00
parent ee24ae093d
commit d6ea7c5685

View File

@ -34,6 +34,7 @@
#include "gnc-gconf-utils.h" #include "gnc-gconf-utils.h"
#include "gnc-tree-view-account.h" #include "gnc-tree-view-account.h"
#include "gnc-component-manager.h" #include "gnc-component-manager.h"
#include "gnc-session.h"
#include "qof.h" #include "qof.h"
#include "gnc-ui.h" #include "gnc-ui.h"
@ -846,6 +847,7 @@ gnc_tax_info_dialog (GtkWidget * parent)
component_id = gnc_register_gui_component (DIALOG_TAX_INFO_CM_CLASS, component_id = gnc_register_gui_component (DIALOG_TAX_INFO_CM_CLASS,
refresh_handler, close_handler, refresh_handler, close_handler,
ti_dialog); ti_dialog);
gnc_gui_component_set_session (component_id, gnc_get_current_session ());
gnc_gui_component_watch_entity_type (component_id, gnc_gui_component_watch_entity_type (component_id,
GNC_ID_ACCOUNT, GNC_ID_ACCOUNT,