[evolution/gnome-2-28] Bug 597108 - E_CONFIG_SECTION headers not properly escaped



commit fb8e6a1fe35fae64089f704475edd4295463e9b7
Author: Matthew Barnes <mbarnes redhat com>
Date:   Fri Oct 2 08:39:25 2009 -0400

    Bug 597108 - E_CONFIG_SECTION headers not properly escaped

 e-util/e-config.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/e-util/e-config.c b/e-util/e-config.c
index 412c00b..b9a284b 100644
--- a/e-util/e-config.c
+++ b/e-util/e-config.c
@@ -662,7 +662,7 @@ ec_rebuild(EConfig *emp)
 				}
 
 				if (translated_label != NULL) {
-					gchar *txt = g_strdup_printf("<span weight=\"bold\">%s</span>", translated_label);
+					gchar *txt = g_markup_printf_escaped("<span weight=\"bold\">%s</span>", translated_label);
 
 					label = g_object_new(gtk_label_get_type(),
 							     "label", txt,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]