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)
This commit is contained in:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user