diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-04-20 08:41:25 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-04-20 08:41:25 +0800 |
commit | 5d8a4ea16f86e62f1c14c5acffb075aa59e1aa5a (patch) | |
tree | 08790d6e5891e6e1e3b211d64758436936a314e9 /mail/folder-browser.c | |
parent | 4cd8394cf68e5c58bb462e057ce3bac41032f3c1 (diff) | |
download | gsoc2013-evolution-5d8a4ea16f86e62f1c14c5acffb075aa59e1aa5a.tar.gz gsoc2013-evolution-5d8a4ea16f86e62f1c14c5acffb075aa59e1aa5a.tar.zst gsoc2013-evolution-5d8a4ea16f86e62f1c14c5acffb075aa59e1aa5a.zip |
Ref the html object here, this is an async handler so it's possible for
2002-04-19 Jeffrey Stedfast <fejj@ximian.com>
* 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
Diffstat (limited to 'mail/folder-browser.c')
0 files changed, 0 insertions, 0 deletions