aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
Diffstat (limited to 'composer')
-rw-r--r--composer/ChangeLog5
-rw-r--r--composer/e-msg-composer-select-file.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index b04027bf62..7fbb3380a9 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,8 @@
+2001-07-09 Iain Holmes <iain@ximian.com>
+
+ * e-msg-composer-select-file.c (file_selection_info_destroy_notify):
+ Unref the file selection dialog when the data is destroyed.
+
2001-07-09 Dan Winship <danw@ximian.com>
* e-msg-composer.c (composer_shutdown): Do the
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);
}