summaryrefslogtreecommitdiff
path: root/gtk/gtkstyle.c
diff options
context:
space:
mode:
authorMark McLoughlin <mark@skynet.ie>2004-03-11 08:19:34 +0000
committerMark McLoughlin <markmc@src.gnome.org>2004-03-11 08:19:34 +0000
commita794a492f47de933cda2847e0bc2ac2cc2ce80c1 (patch)
treeead824f6063cfa76613eee1aa41735b23b461cee /gtk/gtkstyle.c
parent1135bef0dad18476e86c4761efd2635d027f9c68 (diff)
downloadgtk+-a794a492f47de933cda2847e0bc2ac2cc2ce80c1.tar.gz
Use the PRELIGHT fg color for drawing the expander when prelit. Fixes
2004-03-11 Mark McLoughlin <mark@skynet.ie> * gtk/gtkstyle.c: (gtk_default_draw_expander): Use the PRELIGHT fg color for drawing the expander when prelit. Fixes problem with the HighContrast theme: bug #136789.
Diffstat (limited to 'gtk/gtkstyle.c')
-rw-r--r--gtk/gtkstyle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkstyle.c b/gtk/gtkstyle.c
index fc8ae92c4c..91d7679a61 100644
--- a/gtk/gtkstyle.c
+++ b/gtk/gtkstyle.c
@@ -5015,7 +5015,7 @@ gtk_default_draw_expander (GtkStyle *style,
if (state_type == GTK_STATE_PRELIGHT)
{
- gtk_style_draw_polygon_with_gc (window, style->fg_gc[GTK_STATE_NORMAL],
+ gtk_style_draw_polygon_with_gc (window, style->fg_gc[GTK_STATE_PRELIGHT],
1, TRUE, points, 3);
}
else if (state_type == GTK_STATE_ACTIVE)