From 5d8a4ea16f86e62f1c14c5acffb075aa59e1aa5a Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Sat, 20 Apr 2002 00:41:25 +0000 Subject: Ref the html object here, this is an async handler so it's possible for 2002-04-19 Jeffrey Stedfast * mail-display.c (stream_write_or_redisplay_when_loaded): Ref the html object here, this is an async handler so it's possible for our caller (or someone else) to unref the html object before we finish. (load_content_free): Unref the async handler's ref of the html object here. (mail_display_new): Ref the html widget here so that we can be sure that so long as the mail-display is "alive", so is the html object. See bug #22328 for details. Basically, the message-browser is being closed before the message gets loaded and so the html object was being destroyed but the mail-display was still alive. (mail_display_destroy): Unref the html object when the mail-display is destroyed. svn path=/trunk/; revision=16544 --- mail/ChangeLog | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'mail/ChangeLog') diff --git a/mail/ChangeLog b/mail/ChangeLog index e27ff8e094..392b75c810 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,19 @@ +2002-04-19 Jeffrey Stedfast + + * mail-display.c (stream_write_or_redisplay_when_loaded): Ref the + html object here, this is an async handler so it's possible for + our caller (or someone else) to unref the html object before we + finish. + (load_content_free): Unref the async handler's ref of the html + object here. + (mail_display_new): Ref the html widget here so that we can be + sure that so long as the mail-display is "alive", so is the html + object. See bug #22328 for details. Basically, the message-browser + is being closed before the message gets loaded and so the html + object was being destroyed but the mail-display was still alive. + (mail_display_destroy): Unref the html object when the + mail-display is destroyed. + 2002-04-19 Anna Marie Dirks * mail-config.glade: Added yet more accelerators for the new config -- cgit v1.2.3