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 | |
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')
-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, ""); |