summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2001-07-18 23:54:06 +0000
committerOwen Taylor <otaylor@src.gnome.org>2001-07-18 23:54:06 +0000
commit8f2bf7976d73ba58b808002268c49a19e9b586ee (patch)
tree4f7889c46f60aa6ff394ad97045ee7ff4654d7b1 /gtk
parent4e2b60ac4d32c5bef5b192a12a59f8c2a3124f81 (diff)
downloadgtk+-8f2bf7976d73ba58b808002268c49a19e9b586ee.tar.gz
Get the foreground color from 'text', nor 'base'. (#57568)
Wed Jul 18 19:51:45 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtktextview.c (gtk_text_view_set_attributes_from_style): Get the foreground color from 'text', nor 'base'. (#57568)
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtktextview.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c
index 53ba578fc6..ce4a6493cf 100644
--- a/gtk/gtktextview.c
+++ b/gtk/gtktextview.c
@@ -4358,7 +4358,7 @@ gtk_text_view_set_attributes_from_style (GtkTextView *text_view,
GtkStyle *style)
{
values->appearance.bg_color = style->base[GTK_STATE_NORMAL];
- values->appearance.fg_color = style->fg[GTK_STATE_NORMAL];
+ values->appearance.fg_color = style->text[GTK_STATE_NORMAL];
if (values->font.family_name)
g_free (values->font.family_name);