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:
parent
8bfa40eecd
commit
5ce9fb8666
2 changed files with 11 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue