summaryrefslogtreecommitdiff
path: root/gtk/gtkcurve.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@src.gnome.org>1998-11-06 22:05:02 +0000
committerOwen Taylor <otaylor@src.gnome.org>1998-11-06 22:05:02 +0000
commite2a521922085c8010028e227f61bba59ea6b8242 (patch)
tree2500d6aa6f63aab4b58c17546532ecce8fdcca37 /gtk/gtkcurve.c
parent3c0df19a588bd96f328bda975db8eb9fa7f79e81 (diff)
downloadgdk-pixbuf-e2a521922085c8010028e227f61bba59ea6b8242.tar.gz
Merge from themes-2. See the ChangeLog for a somewhat detailed
history of the evolution of the changes involved. Most of this is actually minor painting tweaks.
Diffstat (limited to 'gtk/gtkcurve.c')
-rw-r--r--gtk/gtkcurve.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkcurve.c b/gtk/gtkcurve.c
index b867e6b7a..36442e130 100644
--- a/gtk/gtkcurve.c
+++ b/gtk/gtkcurve.c
@@ -239,9 +239,9 @@ gtk_curve_draw (GtkCurve *c, gint width, gint height)
style = GTK_WIDGET (c)->style;
/* clear the pixmap: */
- gdk_draw_rectangle (c->pixmap, style->bg_gc[state], TRUE,
+ gtk_paint_flat_box (style, c->pixmap, GTK_STATE_NORMAL, GTK_SHADOW_NONE,
+ NULL, GTK_WIDGET(c), "curve_bg",
0, 0, width + RADIUS * 2, height + RADIUS * 2);
-
/* draw the grid lines: (XXX make more meaningful) */
for (i = 0; i < 5; i++)
{