diff options
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 7 | ||||
-rw-r--r-- | mail/mail-display.c | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index d1f20d8c51..2e4e787518 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,10 @@ +2000-04-21 Dan Winship <danw@helixcode.com> + + * mail-display.c (mail_display_set_message): ref the message we + display, since we're going to unref it when we remove it. Fixes a + bug that showed up with the new camel code, but it's not obvious + if it's due to a bug or a feature in the new code. + 2000-04-20 NotZed <NotZed@HelixCode.com> * Makefile.am (evolution_mail_LDADD): Add libibex.la to link. diff --git a/mail/mail-display.c b/mail/mail-display.c index b365df7232..5a3b42a319 100644 --- a/mail/mail-display.c +++ b/mail/mail-display.c @@ -253,6 +253,7 @@ mail_display_set_message (MailDisplay *mail_display, gtk_object_unref (GTK_OBJECT (mail_display->current_message)); mail_display->current_message = CAMEL_MIME_MESSAGE (medium); + gtk_object_ref (GTK_OBJECT (medium)); headers_stream = gtk_html_begin (mail_display->headers_html_widget, ""); body_stream = gtk_html_begin (mail_display->body_html_widget, ""); |