aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-composer-utils.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-05-13 06:18:59 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-05-13 06:24:42 +0800
commit8ff0684fa2e371a80cca60e8df167cc104c473c2 (patch)
treee5cca6b5e8c46feff19eb8e12ab26b4803ebdd3b /mail/em-composer-utils.c
parent6ae1b3fe3c4dfd391de92bfca42e44ff7cc8fe19 (diff)
downloadgsoc2013-evolution-8ff0684fa2e371a80cca60e8df167cc104c473c2.tar.gz
gsoc2013-evolution-8ff0684fa2e371a80cca60e8df167cc104c473c2.tar.zst
gsoc2013-evolution-8ff0684fa2e371a80cca60e8df167cc104c473c2.zip
em_format_html_print_message(): Require a CamelMimeMessage.
Let EMailReader fetch the CamelMimeMessage itself, handle errors, and then pass it off to EMFormatHTMLPrint. This also eliminates the need for em_format_html_print_raw_message().
Diffstat (limited to 'mail/em-composer-utils.c')
-rw-r--r--mail/em-composer-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/em-composer-utils.c b/mail/em-composer-utils.c
index a8208dc225..e72e5db257 100644
--- a/mail/em-composer-utils.c
+++ b/mail/em-composer-utils.c
@@ -864,7 +864,7 @@ em_utils_composer_print_cb (EMsgComposer *composer,
EMFormatHTMLPrint *efhp;
efhp = em_format_html_print_new (NULL, action);
- em_format_html_print_raw_message (efhp, message);
+ em_format_html_print_message (efhp, message, NULL, NULL);
g_object_unref (efhp);
}