From aa4a41face7424b59bd6ffd71348f988730da58a Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Fri, 18 May 2001 20:56:55 +0000 Subject: Reset style attributes even if the widget isn't realized. Fri May 18 15:26:26 2001 Owen Taylor * 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. --- demos/gtk-demo/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'demos') diff --git a/demos/gtk-demo/main.c b/demos/gtk-demo/main.c index 69710e3ada..d5d0238dde 100644 --- a/demos/gtk-demo/main.c +++ b/demos/gtk-demo/main.c @@ -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); -- cgit v1.2.1