Test non-xml-clean preview text

This shows that we fail to escape markup somewhere.
This commit is contained in:
Matthias Clasen 2011-09-04 17:16:29 -04:00
parent 8b3ff3919d
commit 53edb2a4fb

View File

@ -58,7 +58,7 @@ main (int argc, char *argv[])
G_CALLBACK (notify_preview_text_cb), NULL);
gtk_font_chooser_set_font_name (GTK_FONT_CHOOSER (fontchooser), "Bitstream Vera Sans 45");
gtk_font_chooser_set_preview_text (GTK_FONT_CHOOSER (fontchooser), "[user@host ~]$ ");
gtk_font_chooser_set_preview_text (GTK_FONT_CHOOSER (fontchooser), "[user@host ~]$ &>>");
gtk_font_chooser_set_show_preview_entry (GTK_FONT_CHOOSER (fontchooser), FALSE);
gtk_main ();