[gtk+] Test non-xml-clean preview text
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Test non-xml-clean preview text
- Date: Sun, 4 Sep 2011 21:18:17 +0000 (UTC)
commit 53edb2a4fb04ca3dc6004b18af905424bcd8f87f
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Sep 4 17:16:29 2011 -0400
Test non-xml-clean preview text
This shows that we fail to escape markup somewhere.
tests/testfontchooser.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/testfontchooser.c b/tests/testfontchooser.c
index 49f5b5c..580c614 100644
--- a/tests/testfontchooser.c
+++ b/tests/testfontchooser.c
@@ -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 ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]