diff options
author | Owen Taylor <otaylor@redhat.com> | 1999-02-16 04:29:00 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 1999-02-16 04:29:00 +0000 |
commit | fd2c0c5651ced62c6c235629ee0dcc9cb5d154f2 (patch) | |
tree | 2ddfacf5cbeeec1684bb3ba1d6ca56a6ab309d36 /gtk/gtktext.c | |
parent | 3a5883b7e4a5a6a8d46bbc7ef277e711b6555b26 (diff) | |
download | gtk+-fd2c0c5651ced62c6c235629ee0dcc9cb5d154f2.tar.gz |
When setting styles, remove unecessary explicits draws and clears.
Fri Feb 12 15:47:20 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcalender.c gtk/gtkentry.c gtk/gtkhandlebox.c
gtk/gtknotebook.c gtk/gtktext.c gtk/gtkviewport.c
gtk/gtkwidget.c:
When setting styles, remove unecessary explicits draws
and clears.
* gtk/gtkrange.c: Ugly fix so the steps get the
correct background.
Diffstat (limited to 'gtk/gtktext.c')
-rw-r--r-- | gtk/gtktext.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gtk/gtktext.c b/gtk/gtktext.c index b28a4405cc..c304326c35 100644 --- a/gtk/gtktext.c +++ b/gtk/gtktext.c @@ -1427,9 +1427,6 @@ gtk_text_style_set (GtkWidget *widget, if (text->current_font) text_font_unref (text->current_font); text->current_font = get_text_font (widget->style->font); - - if (GTK_WIDGET_DRAWABLE (widget)) - gdk_window_clear (widget->window); } static void |