tests: Set an existing font in testfontchooser

This commit is contained in:
Benjamin Otte 2019-12-12 03:13:22 +01:00
parent 552db7cb08
commit f6bdfc32d3

View File

@ -81,7 +81,7 @@ main (int argc, char *argv[])
g_signal_connect (fontchooser, "font-activated",
G_CALLBACK (font_activated_cb), NULL);
gtk_font_chooser_set_font (GTK_FONT_CHOOSER (fontchooser), "Bitstream Vera Sans 45");
gtk_font_chooser_set_font (GTK_FONT_CHOOSER (fontchooser), "Sans 45");
gtk_font_chooser_set_preview_text (GTK_FONT_CHOOSER (fontchooser), "[user@host ~]$ &>>");
gtk_font_chooser_set_show_preview_entry (GTK_FONT_CHOOSER (fontchooser), FALSE);