aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/e-shell-importer.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 44b3992b84..dc5f7d4fae 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,8 @@
+2004-04-14 JP Rosevear <jpr@ximian.com>
+
+ * e-shell-importer.c (start_import): don't unref the dialog,
+ destroy it properly
+
2004-04-13 Not Zed <NotZed@Ximian.com>
* e-user-creatable-items-handler.c (create_verb): add a component
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;
}