aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-display.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-display.c')
-rw-r--r--mail/mail-display.c1
1 files changed, 1 insertions, 0 deletions
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, "");