forked from AuroraMiddleware/gtk
Revert "styleproperties: don't force replacing the font description"
It turns out the bug is more complicated than I originally understood.
Not replacing the font description fields while merging here makes it
impossible for application's CSS to override fonts.
This reverts commit 89c1d93b68
.
https://bugzilla.gnome.org/show_bug.cgi?id=645458
This commit is contained in:
parent
1d64742dae
commit
ec2055d1b0
@ -1243,7 +1243,7 @@ gtk_style_properties_merge (GtkStyleProperties *props,
|
||||
font_desc = g_value_get_boxed (value);
|
||||
font_desc_to_merge = g_value_get_boxed (&data->value);
|
||||
|
||||
pango_font_description_merge (font_desc, font_desc_to_merge, FALSE);
|
||||
pango_font_description_merge (font_desc, font_desc_to_merge, replace);
|
||||
}
|
||||
else if (G_VALUE_TYPE (&data->value) == G_TYPE_PTR_ARRAY &&
|
||||
G_IS_VALUE (value))
|
||||
|
Loading…
Reference in New Issue
Block a user