summaryrefslogtreecommitdiff
path: root/gtk/gtkcurve.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@src.gnome.org>1998-07-28 20:39:26 +0000
committerCarsten Haitzler <raster@src.gnome.org>1998-07-28 20:39:26 +0000
commit742c12580d7cbc43bce58d404060d765de1c75a9 (patch)
tree09d9baed0dc154bdf59aa8b3362bf5dacf2d491d /gtk/gtkcurve.c
parentb6c34a819009874edb20483fc3914746d5b23010 (diff)
downloadgtk+-742c12580d7cbc43bce58d404060d765de1c75a9.tar.gz
GTK theme revision 2 now in CVS themes 2 branch........ WHEEEEEEEEEEE!
GTK theme revision 2 now in CVS themes 2 branch........ WHEEEEEEEEEEE!
Diffstat (limited to 'gtk/gtkcurve.c')
-rw-r--r--gtk/gtkcurve.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkcurve.c b/gtk/gtkcurve.c
index b867e6b7a1..ac1ce6c890 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,
- 0, 0, width + RADIUS * 2, height + RADIUS * 2);
-
+ 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++)
{