aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer-select-file.c
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2001-07-10 02:12:30 +0800
committerIain Holmes <iain@src.gnome.org>2001-07-10 02:12:30 +0800
commita5d93d4f63c1776ae88875805b27e43e02fd0b4b (patch)
treea9c087525e41dcd8ebd14d10e07f25ea70792559 /composer/e-msg-composer-select-file.c
parent04d7e28a0bc12a7f5a30393938a227ad763bfcc6 (diff)
downloadgsoc2013-evolution-a5d93d4f63c1776ae88875805b27e43e02fd0b4b.tar
gsoc2013-evolution-a5d93d4f63c1776ae88875805b27e43e02fd0b4b.tar.gz
gsoc2013-evolution-a5d93d4f63c1776ae88875805b27e43e02fd0b4b.tar.bz2
gsoc2013-evolution-a5d93d4f63c1776ae88875805b27e43e02fd0b4b.tar.lz
gsoc2013-evolution-a5d93d4f63c1776ae88875805b27e43e02fd0b4b.tar.xz
gsoc2013-evolution-a5d93d4f63c1776ae88875805b27e43e02fd0b4b.tar.zst
gsoc2013-evolution-a5d93d4f63c1776ae88875805b27e43e02fd0b4b.zip
Close the file selection dialog when the composer is closed
svn path=/trunk/; revision=10920
Diffstat (limited to 'composer/e-msg-composer-select-file.c')
-rw-r--r--composer/e-msg-composer-select-file.c3
1 files changed, 3 insertions, 0 deletions
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);
}