diff options
author | Dan Winship <danw@src.gnome.org> | 2000-04-21 13:01:35 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-04-21 13:01:35 +0800 |
commit | dc1d13533cb4762c7aa4b6c93b3d8801e2f4919e (patch) | |
tree | 9926dfb21a78ad366400a457912476f558b73634 /mail/mail-display.c | |
parent | 170588e217463591937bd86e93845a896dfe1317 (diff) | |
download | gsoc2013-evolution-dc1d13533cb4762c7aa4b6c93b3d8801e2f4919e.tar.gz gsoc2013-evolution-dc1d13533cb4762c7aa4b6c93b3d8801e2f4919e.tar.zst gsoc2013-evolution-dc1d13533cb4762c7aa4b6c93b3d8801e2f4919e.zip |
ref the message we display, since we're going to unref it when we remove
* 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.
svn path=/trunk/; revision=2541
Diffstat (limited to 'mail/mail-display.c')
-rw-r--r-- | mail/mail-display.c | 1 |
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, ""); |