commit 8e51775ab3b673d6cf566d417781e13d9d8545d4
Author: Michel Dänzer <michel@daenzer.net>
Date:   Mon May 21 12:13:37 2012 +0200

    mail: Prevent message formatting from getting delayed indefinitely.
    
    The efh_format_done hook was only called when the main thread became idle,
    which could never happen...

diff --git a/mail/em-format-html.c b/mail/em-format-html.c
index 6bf6769..ba159e4 100644
--- a/mail/em-format-html.c
+++ b/mail/em-format-html.c
@@ -294,12 +294,6 @@ efh_format_exec (struct _format_msg *m,
 
 	format->pending_uri_level = puri_level;
 	m->cancelled = m->cancelled || g_cancellable_is_cancelled (cancellable);
-}
-
-static void
-efh_format_done (struct _format_msg *m)
-{
-	d(printf("formatting finished\n"));
 
 	m->format->priv->format_id = -1;
 	m->format->priv->load_images_now = FALSE;
@@ -331,7 +325,7 @@ static MailMsgInfo efh_format_info = {
 	sizeof (struct _format_msg),
 	(MailMsgDescFunc) efh_format_desc,
 	(MailMsgExecFunc) efh_format_exec,
-	(MailMsgDoneFunc) efh_format_done,
+	(MailMsgDoneFunc) NULL,
 	(MailMsgFreeFunc) efh_format_free
 };
 
