aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-importer.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shell-importer.c')
-rw-r--r--shell/e-shell-importer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/e-shell-importer.c b/shell/e-shell-importer.c
index d81bd0a456..79c961ef7d 100644
--- a/shell/e-shell-importer.c
+++ b/shell/e-shell-importer.c
@@ -481,7 +481,8 @@ start_import (gpointer parent, const char *filename, EvolutionImporterClient *cl
gtk_main_iteration ();
g_object_unref (icd->client);
- g_object_unref (icd->dialog);
+ if (icd->dialog)
+ gtk_widget_destroy (icd->dialog);
g_free (icd);
return;
}