(#67542, reported by Anders Carlsson)
Wed Dec 26 11:49:01 2001 Owen Taylor <otaylor@redhat.com> (#67542, reported by Anders Carlsson) * gtk/gtkstyle.c (gtk_style_real_init_from_rc): Merge rc_style->font_desc with defaul style instead of replacing it. * gtk/gtkrc.c (gtk_rc_style_real_merge): Allow partial font descriptions in RC styles by calling pango_font_description_merge().
This commit is contained in:
@ -1239,10 +1239,7 @@ gtk_style_real_init_from_rc (GtkStyle *style,
|
||||
clear_property_cache (style);
|
||||
|
||||
if (rc_style->font_desc)
|
||||
{
|
||||
pango_font_description_free (style->font_desc);
|
||||
style->font_desc = pango_font_description_copy (rc_style->font_desc);
|
||||
}
|
||||
pango_font_description_merge (style->font_desc, rc_style->font_desc, TRUE);
|
||||
|
||||
for (i = 0; i < 5; i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user