aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-format-html.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2003-10-02 13:34:36 +0800
committerMichael Zucci <zucchi@src.gnome.org>2003-10-02 13:34:36 +0800
commiteff89404e4956f1b61c77d56341cf6423e7543dc (patch)
tree39b902d8a58c5eb553ba75bf9616c1fc9d3c3e47 /mail/em-format-html.c
parent060d4b7e0a682d2e70a5275d8db1ea2f5fb488cc (diff)
downloadgsoc2013-evolution-eff89404e4956f1b61c77d56341cf6423e7543dc.tar
gsoc2013-evolution-eff89404e4956f1b61c77d56341cf6423e7543dc.tar.gz
gsoc2013-evolution-eff89404e4956f1b61c77d56341cf6423e7543dc.tar.bz2
gsoc2013-evolution-eff89404e4956f1b61c77d56341cf6423e7543dc.tar.lz
gsoc2013-evolution-eff89404e4956f1b61c77d56341cf6423e7543dc.tar.xz
gsoc2013-evolution-eff89404e4956f1b61c77d56341cf6423e7543dc.tar.zst
gsoc2013-evolution-eff89404e4956f1b61c77d56341cf6423e7543dc.zip
zero out last_part if we're clearing. Uh, this fixes, but shouldn't, part
2003-10-02 Not Zed <NotZed@Ximian.com> * em-format-html.c (efh_format_timeout): zero out last_part if we're clearing. Uh, this fixes, but shouldn't, part of #49034. The problem is the 'last part' logic is based on the address, which can quite easily be repeated for different messages. * em-folder-view.c (emfv_list_message_selected): reverted jeff's patch for #48618, use a much simpler method. * em-message-browser.c (emmb_destroy): hook onto destroy handler, we need to destroy the messagelist ourselves, since we dont attach it to any parent window. svn path=/trunk/; revision=22785
Diffstat (limited to 'mail/em-format-html.c')
-rw-r--r--mail/em-format-html.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mail/em-format-html.c b/mail/em-format-html.c
index 63f7f7f695..6d38eda3f5 100644
--- a/mail/em-format-html.c
+++ b/mail/em-format-html.c
@@ -1192,6 +1192,7 @@ efh_format_timeout(struct _format_msg *m)
hstream = gtk_html_begin(efh->html);
gtk_html_stream_close(hstream, GTK_HTML_STREAM_OK);
mail_msg_free(m);
+ p->last_part = NULL;
} else {
/*hstream = gtk_html_begin(efh->html);*/
hstream = NULL;