diff options
author | Owen Taylor <otaylor@redhat.com> | 2001-07-18 23:54:06 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2001-07-18 23:54:06 +0000 |
commit | 8f2bf7976d73ba58b808002268c49a19e9b586ee (patch) | |
tree | 4f7889c46f60aa6ff394ad97045ee7ff4654d7b1 /gtk | |
parent | 4e2b60ac4d32c5bef5b192a12a59f8c2a3124f81 (diff) | |
download | gtk+-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.c | 2 |
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); |