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
This commit is contained in:
JP Rosevear
2004-04-14 15:10:55 +00:00
committed by JP Rosevear
parent 44b26adf4c
commit f10397cffa
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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;
}