aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-itip-control.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-12-16 22:55:28 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-12-16 22:55:28 +0800
commitb6a4a8bdb86886c8715f487f35069a5c90c72b9c (patch)
treede8b9651a2018965a11e206751a389514bc6b27c /calendar/gui/e-itip-control.c
parent128e4fb46198ed79d4159a676cb6dfa4a6372250 (diff)
downloadgsoc2013-evolution-b6a4a8bdb86886c8715f487f35069a5c90c72b9c.tar.gz
gsoc2013-evolution-b6a4a8bdb86886c8715f487f35069a5c90c72b9c.tar.zst
gsoc2013-evolution-b6a4a8bdb86886c8715f487f35069a5c90c72b9c.zip
Correctly convert text.value into HTML here (ie, don't pass "<i>None</i>"
2002-12-16 Jeffrey Stedfast <fejj@ximian.com> * gui/e-itip-control.c (write_html): Correctly convert text.value into HTML here (ie, don't pass "<i>None</i>" into e_text_to_html() if text.value is NULL). svn path=/trunk/; revision=19123
Diffstat (limited to 'calendar/gui/e-itip-control.c')
-rw-r--r--calendar/gui/e-itip-control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/e-itip-control.c b/calendar/gui/e-itip-control.c
index 168ed4359b..117cf4468e 100644
--- a/calendar/gui/e-itip-control.c
+++ b/calendar/gui/e-itip-control.c
@@ -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 = e_text_to_html (text.value ? text.value : _("<i>None</i>"), E_TEXT_TO_HTML_CONVERT_NL);
+ html = text.value ? e_text_to_html (text.value, E_TEXT_TO_HTML_CONVERT_NL) : _("<i>None</i>");
gtk_html_stream_printf (html_stream, "<b>%s</b><br>%s<br><br>",
_("Summary:"), html);
g_free (html);