aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-10-22 10:25:36 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-10-22 10:25:36 +0800
commitb1c2896995bfe7bc680a80176976dbe9defea4a6 (patch)
tree8e4150d248762d850d8302459ea80cca0915165c /mail/mail.h
parente55790f58b0e9c30aa9cb766b607dab634fa9cf4 (diff)
downloadgsoc2013-evolution-b1c2896995bfe7bc680a80176976dbe9defea4a6.tar.gz
gsoc2013-evolution-b1c2896995bfe7bc680a80176976dbe9defea4a6.tar.zst
gsoc2013-evolution-b1c2896995bfe7bc680a80176976dbe9defea4a6.zip
Use mail_format_get_data_wrapper_text for text parts so we get free
2001-10-21 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (on_url_requested): Use mail_format_get_data_wrapper_text for text parts so we get free charset conversion. * mail-format.c (mail_format_get_data_wrapper_text): Renamed from get_data_wrapper_text and now returns a GByteArray. (handle_text_plain): Updated to use the new get_data_wrapper_text. (handle_application_pgp): Same. Wow...also fixed a mem leak and made a bit more efficient by doing so. (handle_text_enriched): Here too. Also use string->len instead of strlen (string->str). (mail_format_raw_message): Same. svn path=/trunk/; revision=13862
Diffstat (limited to 'mail/mail.h')
-rw-r--r--mail/mail.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/mail.h b/mail/mail.h
index 81f0d7174f..722eee615d 100644
--- a/mail/mail.h
+++ b/mail/mail.h
@@ -36,6 +36,9 @@
extern char *evolution_dir;
/* mail-format */
+GByteArray *mail_format_get_data_wrapper_text (CamelDataWrapper *data,
+ MailDisplay *mail_display);
+
void mail_format_mime_message (CamelMimeMessage *mime_message,
MailDisplay *md);
void mail_format_raw_message (CamelMimeMessage *mime_message,