From a5d93d4f63c1776ae88875805b27e43e02fd0b4b Mon Sep 17 00:00:00 2001 From: Iain Holmes Date: Mon, 9 Jul 2001 18:12:30 +0000 Subject: Close the file selection dialog when the composer is closed svn path=/trunk/; revision=10920 --- composer/e-msg-composer-select-file.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'composer/e-msg-composer-select-file.c') diff --git a/composer/e-msg-composer-select-file.c b/composer/e-msg-composer-select-file.c index 0d329bac9a..d44a0ec76f 100644 --- a/composer/e-msg-composer-select-file.c +++ b/composer/e-msg-composer-select-file.c @@ -150,6 +150,9 @@ file_selection_info_destroy_notify (void *data) info = (FileSelectionInfo *) data; + if (info->widget != NULL) { + gtk_object_unref (GTK_OBJECT (info->widget)); + } g_free (info->selected_file); g_free (info); } -- cgit