diff options
author | Owen Taylor <otaylor@redhat.com> | 1999-01-24 17:19:21 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 1999-01-24 17:19:21 +0000 |
commit | a1cc053be2925b7eea6fc5b890db52658c2fcfef (patch) | |
tree | 7b624fd27f6b43fed126c749f5770a3ecf5bd36c /gtk/gtkruler.c | |
parent | 42ffb3727e72e9b5ed61e14447f0122f79def4a3 (diff) | |
download | gtk+-a1cc053be2925b7eea6fc5b890db52658c2fcfef.tar.gz |
Fix reversed assertion. (Pointed out by Austin Donnelly
Sun Jan 24 12:17:39 1999 Owen Taylor <otaylor@redhat.com>
* gdk/gdkcolor.c (gdk_colormap_real_destroy): Fix
reversed assertion.
(Pointed out by Austin Donnelly <austin@greenend.org.uk>)
* gtk/gtkruler.c (gtk_ruler_expose): Remove unecessary
and harmful call to gtk_paint_box(). We are going
to paint onto the backing store later anyways.
Diffstat (limited to 'gtk/gtkruler.c')
-rw-r--r-- | gtk/gtkruler.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gtk/gtkruler.c b/gtk/gtkruler.c index d5c2273f67..e8c1d258f2 100644 --- a/gtk/gtkruler.c +++ b/gtk/gtkruler.c @@ -249,11 +249,6 @@ gtk_ruler_expose (GtkWidget *widget, { ruler = GTK_RULER (widget); - gtk_paint_box (widget->style, widget->window, - GTK_STATE_NORMAL, GTK_SHADOW_OUT, - NULL, widget, "ruler", - 0, 0, -1, -1); - gtk_ruler_draw_ticks (ruler); gdk_draw_pixmap (widget->window, |