]> Pileus Git - ~andy/gtk/commitdiff
Test non-xml-clean preview text
authorMatthias Clasen <mclasen@redhat.com>
Sun, 4 Sep 2011 21:16:29 +0000 (17:16 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 4 Sep 2011 21:16:29 +0000 (17:16 -0400)
This shows that we fail to escape markup somewhere.

tests/testfontchooser.c

index 49f5b5c72fc1b3a9bef6fec24a2986814bd718a1..580c614ebc5ce4ee532bd0f9f7ab5f16a45a384a 100644 (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 ();