aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-table/e-table-config.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/e-table/e-table-config.c')
-rw-r--r--widgets/e-table/e-table-config.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/widgets/e-table/e-table-config.c b/widgets/e-table/e-table-config.c
index 1345bed88f..c81eeecca0 100644
--- a/widgets/e-table/e-table-config.c
+++ b/widgets/e-table/e-table-config.c
@@ -132,6 +132,7 @@ e_table_gui_config (ETable *etable)
GnomeDialog *dialog;
ConfigData *config_data;
+ glade_gnome_init ();
gui = glade_xml_new (ETABLE_GLADEDIR "/e-table-config.glade", NULL);
if (!gui)
return NULL;
@@ -205,6 +206,9 @@ e_table_do_gui_config (GtkWidget *parent, ETable *etable)
e_table_gui_config_cancel (GTK_WIDGET (dialog), etable);
else
e_table_gui_config_accept (GTK_WIDGET (dialog), etable);
+
+ if (r != -1)
+ gtk_object_destroy (GTK_OBJECT (dialog));
}