aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-10-27 00:24:21 +0800
committerDan Winship <danw@src.gnome.org>2000-10-27 00:24:21 +0800
commitfa4b2f89b7e70c3b48b12c69d8dc175128f0dd11 (patch)
treeb6b553c0ea0d48c8a81bc8101a04a6e6a7910b78
parent7a6e9be357cef23e09cef1043dc9254e5f845671 (diff)
downloadgsoc2013-evolution-fa4b2f89b7e70c3b48b12c69d8dc175128f0dd11.tar.gz
gsoc2013-evolution-fa4b2f89b7e70c3b48b12c69d8dc175128f0dd11.tar.zst
gsoc2013-evolution-fa4b2f89b7e70c3b48b12c69d8dc175128f0dd11.zip
Don't destroy a dialog after run_and_close'ing it.
* mail-display.c (write_data_to_file): Don't destroy a dialog after run_and_close'ing it. svn path=/trunk/; revision=6203
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-display.c1
2 files changed, 5 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 6224b74690..ff4045b2ac 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2000-10-26 Dan Winship <danw@helixcode.com>
+
+ * mail-display.c (write_data_to_file): Don't destroy a dialog
+ after run_and_close'ing it.
+
2000-10-26 Jeffrey Stedfast <fejj@helixcode.com>
* mail-callbacks.c (composer_send_cb): Check for the TO recipient
diff --git a/mail/mail-display.c b/mail/mail-display.c
index ca3c2990f2..6252f94df8 100644
--- a/mail/mail-display.c
+++ b/mail/mail-display.c
@@ -76,7 +76,6 @@ write_data_to_file (CamelMimePart *part, const char *name, gboolean unique)
if (gnome_dialog_run_and_close (GNOME_DIALOG (dlg)) != 0)
return FALSE;
- gtk_widget_destroy (dlg);
fd = open (name, O_WRONLY | O_TRUNC);
}