diff options
author | Owen Taylor <otaylor@redhat.com> | 2001-05-18 20:56:55 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2001-05-18 20:56:55 +0000 |
commit | aa4a41face7424b59bd6ffd71348f988730da58a (patch) | |
tree | 8c1bf260999fe8df8ee68336b7b56414e553486b /demos | |
parent | 50512ddcd2b2cb156d4a4e13a9f6ac21aae30ddf (diff) | |
download | gtk+-aa4a41face7424b59bd6ffd71348f988730da58a.tar.gz |
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.
Diffstat (limited to 'demos')
-rw-r--r-- | demos/gtk-demo/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |