Reset style attributes even if the widget isn't realized.
Fri May 18 15:26:26 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtktextview.c (gtk_text_view_style_set): Reset style attributes even if the widget isn't realized. * demos/gtk-demo/main.c: Use a slightly smaller font.
This commit is contained in:
@ -646,7 +646,7 @@ create_text (GtkTextBuffer **buffer,
|
||||
|
||||
if (is_source)
|
||||
{
|
||||
font_desc = pango_font_description_from_string ("Courier 14");
|
||||
font_desc = pango_font_description_from_string ("Courier 12");
|
||||
gtk_widget_modify_font (text_view, font_desc);
|
||||
pango_font_description_free (font_desc);
|
||||
|
||||
|
Reference in New Issue
Block a user