* updates for mu_msg_get_body_(text|html) api change

This commit is contained in:
djcb
2012-08-09 09:38:58 +03:00
parent 86bf7b7165
commit abfcc4a2f3
9 changed files with 29 additions and 23 deletions

View File

@ -200,11 +200,11 @@ convert_to_pdf (MuMsg *msg, GError **err)
gstr = g_string_append (gstr, "<hr>\n");
body = mu_msg_get_body_html (msg);
body = mu_msg_get_body_html (msg, MU_MSG_OPTION_NONE);
if (body)
g_string_append_printf (gstr, "%s", body);
else {
body = mu_msg_get_body_text (msg);
body = mu_msg_get_body_text (msg, MU_MSG_OPTION_NONE);
if (body) {
gchar *esc;
esc = g_markup_escape_text (body, -1);