aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/expert_comp_dlg.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2009-08-26 04:37:08 +0000
committerAnders Broman <anders.broman@ericsson.com>2009-08-26 04:37:08 +0000
commit3c399bf8bb5fcf21a8f917d2fec30bf22434a246 (patch)
tree23abab5782c7957b1dc4d7106ecf00b7ff3447f7 /gtk/expert_comp_dlg.c
parenteeb1f0df1886960f2a2058e4e9f3379aa12c8c37 (diff)
Make it possible to close and reactivate the window.
svn path=/trunk/; revision=29557
Diffstat (limited to 'gtk/expert_comp_dlg.c')
-rw-r--r--gtk/expert_comp_dlg.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/expert_comp_dlg.c b/gtk/expert_comp_dlg.c
index 64ee31a4bc..63d75ceb56 100644
--- a/gtk/expert_comp_dlg.c
+++ b/gtk/expert_comp_dlg.c
@@ -196,6 +196,11 @@ win_destroy_cb(GtkWindow *win _U_, gpointer data)
remove_tap_listener(ss);
unprotect_thread_critical_region();
+ if (expert_comp_dlg_w != NULL) {
+ window_destroy(expert_comp_dlg_w);
+ expert_comp_dlg_w = NULL;
+ }
+
free_error_table_data(&ss->error_table);
free_error_table_data(&ss->warn_table);
free_error_table_data(&ss->note_table);