diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-10-23 09:48:05 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-10-23 09:48:05 +0800 |
commit | 113bb17ac1b2e89c64bbcd768d5688cb776cfb3f (patch) | |
tree | eec29dd433e5eee24a5f8568d8190a79e1ede12b /mail/mail-display.h | |
parent | d012fd43ca8746ba12919ba5b3111ba9bab352e0 (diff) | |
download | gsoc2013-evolution-113bb17ac1b2e89c64bbcd768d5688cb776cfb3f.tar.gz gsoc2013-evolution-113bb17ac1b2e89c64bbcd768d5688cb776cfb3f.tar.zst gsoc2013-evolution-113bb17ac1b2e89c64bbcd768d5688cb776cfb3f.zip |
New fun macro.
2001-10-22 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.h (mail_html_write_string): New fun macro.
* mail-format.c (write_one_text_plain_chunk): Use gtk_html_write
instead of mail_html_write so we avoid strdup'ing the text.
(handle_text_plain_flowed): Use the mail_html_write_string macro.
(handle_message_rfc822): Here too.
(mail_format_raw_message): We can do it here also...
(attachment_header): We can do it a little bit here...
(write_address): A microscopic bit here...
(write_hr): same.
svn path=/trunk/; revision=13925
Diffstat (limited to 'mail/mail-display.h')
-rw-r--r-- | mail/mail-display.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/mail-display.h b/mail/mail-display.h index 61dd4f0579..a44d2483e8 100644 --- a/mail/mail-display.h +++ b/mail/mail-display.h @@ -74,6 +74,8 @@ void mail_display_set_charset (MailDisplay *mail_display, void mail_display_load_images (MailDisplay *mail_display); +#define mail_html_write_string(html, stream, string) gtk_html_write (html, stream, string, strlen (string)) + void mail_html_write (GtkHTML *html, GtkHTMLStream *stream, const char *format, ...); |