revert last change, it looks ugly in themes which actually draw a box

2007-06-04  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpcolorscale.c (gimp_color_scale_expose):
	revert last change, it looks ugly in themes which actually draw a
	box around the scale.


svn path=/trunk/; revision=22705
This commit is contained in:
Michael Natterer
2007-06-04 15:37:20 +00:00
committed by Michael Natterer
parent 5fe7f79072
commit ff63dc6b44
2 changed files with 7 additions and 1 deletions

View File

@ -307,7 +307,7 @@ gimp_color_scale_expose (GtkWidget *widget,
gtk_paint_box (widget->style, widget->window,
sensitive ? GTK_STATE_ACTIVE : GTK_STATE_INSENSITIVE,
GTK_SHADOW_IN,
&area, widget, NULL,
&area, widget, "trough",
x, y, w, h);
gdk_gc_set_clip_rectangle (widget->style->black_gc, &area);