aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widgets/text/e-text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c
index 2dc03d9a25..66c4eb85b6 100644
--- a/widgets/text/e-text.c
+++ b/widgets/text/e-text.c
@@ -1967,7 +1967,7 @@ e_text_draw (GnomeCanvasItem *item, GdkDrawable *drawable,
fg_gc = widget->style->fg_gc[text->has_selection ? GTK_STATE_SELECTED : GTK_STATE_ACTIVE];
if (text->draw_background || text->draw_button) {
- main_gc = widget->style->text_gc[GTK_STATE_NORMAL];
+ main_gc = widget->style->fg_gc[GTK_WIDGET_STATE (widget)];
} else {
main_gc = text->gc;
}