From 594812e79f776331a50b7e68cccfb429f83ba81b Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 16 Dec 2002 19:41:37 +0000 Subject: Use camel_text_to_html() instead. 2002-12-16 Jeffrey Stedfast * gui/e-itip-control.c (write_html): Use camel_text_to_html() instead. svn path=/trunk/; revision=19129 --- calendar/gui/e-itip-control.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'calendar/gui/e-itip-control.c') diff --git a/calendar/gui/e-itip-control.c b/calendar/gui/e-itip-control.c index 117cf4468e..44cfa99fd0 100644 --- a/calendar/gui/e-itip-control.c +++ b/calendar/gui/e-itip-control.c @@ -46,10 +46,10 @@ #include #include #include -#include #include #include #include +#include #include "calendar-config.h" #include "itip-utils.h" #include "e-itip-control.h" @@ -799,7 +799,7 @@ write_html (EItipControl *itip, const gchar *itip_desc, const gchar *itip_title, /* Summary */ cal_component_get_summary (priv->comp, &text); - html = text.value ? e_text_to_html (text.value, E_TEXT_TO_HTML_CONVERT_NL) : _("None"); + html = text.value ? camel_text_to_html (text.value, CAMEL_MIME_FILTER_TOHTML_CONVERT_NL, 0) : _("None"); gtk_html_stream_printf (html_stream, "%s
%s

", _("Summary:"), html); g_free (html); @@ -807,7 +807,7 @@ write_html (EItipControl *itip, const gchar *itip_desc, const gchar *itip_title, /* Location */ cal_component_get_location (priv->comp, &string); if (string != NULL) { - html = e_text_to_html (string, E_TEXT_TO_HTML_CONVERT_NL); + html = camel_text_to_html (string, CAMEL_MIME_FILTER_TOHTML_CONVERT_NL, 0); gtk_html_stream_printf (html_stream, "%s
%s

", _("Location:"), html); g_free (html); @@ -853,7 +853,7 @@ write_html (EItipControl *itip, const gchar *itip_desc, const gchar *itip_title, text = *((CalComponentText *)l->data); if (l && text.value) { - html = e_text_to_html (text.value, E_TEXT_TO_HTML_CONVERT_NL); + html = camel_text_to_html (text.value, CAMEL_MIME_FILTER_TOHTML_CONVERT_NL, 0); gtk_html_stream_printf (html_stream, "%s
%s", _("Description:"), html); g_free (html); -- cgit v1.2.3