diff options
author | JP Rosevear <jpr@ximian.com> | 2004-04-14 23:10:55 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2004-04-14 23:10:55 +0800 |
commit | f10397cffaa4a7ca1027d5e45954d8b486ad5e2d (patch) | |
tree | 5370d13a9e6cfe3ae9d46e9c4d8703398cc58630 /shell/e-shell-importer.c | |
parent | 44b26adf4cae938113d2267b5719f28acf8bc287 (diff) | |
download | gsoc2013-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/e-shell-importer.c')
-rw-r--r-- | shell/e-shell-importer.c | 3 |
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; } |