Use g_markup_printf_escaped () to fill in the description

2004-10-14  Rodney Dawes  <dobey@novell.com>

	* gnome-wp-item.c (gnome_wp_item_update_description):
	Use g_markup_printf_escaped () to fill in the description

	Fixes #155184
This commit is contained in:
Rodney Dawes 2004-10-14 14:55:24 +00:00 committed by Rodney Dawes
parent 8bfa40eecd
commit 5ce9fb8666
2 changed files with 11 additions and 4 deletions

View file

@ -1,3 +1,10 @@
2004-10-14 Rodney Dawes <dobey@novell.com>
* gnome-wp-item.c (gnome_wp_item_update_description):
Use g_markup_printf_escaped () to fill in the description
Fixes #155184
2004-09-29 Rodney Dawes <dobey@novell.com>
* gnome-wp-item.c (gnome_wp_item_new): Unescape the filename so that

View file

@ -286,10 +286,10 @@ void gnome_wp_item_update_description (GnomeWPItem * item) {
item->width,
item->height);
item->description = g_strdup_printf ("<b>%s</b>\n"
"%s",
item->name,
info);
item->description = g_markup_printf_escaped ("<b>%s</b>\n"
"%s",
item->name,
info);
g_free (info);
}