aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2004-04-14 23:10:55 +0800
committerJP Rosevear <jpr@src.gnome.org>2004-04-14 23:10:55 +0800
commitf10397cffaa4a7ca1027d5e45954d8b486ad5e2d (patch)
tree5370d13a9e6cfe3ae9d46e9c4d8703398cc58630 /shell
parent44b26adf4cae938113d2267b5719f28acf8bc287 (diff)
downloadgsoc2013-evolution-f10397cffaa4a7ca1027d5e45954d8b486ad5e2d.tar.gz
gsoc2013-evolution-f10397cffaa4a7ca1027d5e45954d8b486ad5e2d.tar.zst
gsoc2013-evolution-f10397cffaa4a7ca1027d5e45954d8b486ad5e2d.zip
don't unref the dialog, destroy it properly
2004-04-14 JP Rosevear <jpr@ximian.com> * e-shell-importer.c (start_import): don't unref the dialog, destroy it properly svn path=/trunk/; revision=25460
Diffstat (limited to 'shell')
-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;
}