diff options
Diffstat (limited to 'eel/eel-gtk-extensions.c')
-rw-r--r-- | eel/eel-gtk-extensions.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/eel/eel-gtk-extensions.c b/eel/eel-gtk-extensions.c index e68242af..9b50e42e 100644 --- a/eel/eel-gtk-extensions.c +++ b/eel/eel-gtk-extensions.c @@ -357,7 +357,11 @@ eel_gtk_label_make_bold (GtkLabel *label) * theme or user prefs, since the font desc only has the * weight flag turned on. */ - gtk_widget_override_font (GTK_WIDGET (label), font_desc); + PangoAttrList *attrs = pango_attr_list_new (); + PangoAttribute *font_desc_attr = pango_attr_font_desc_new (font_desc); + pango_attr_list_insert (attrs, font_desc_attr); + gtk_label_set_attributes (label, attrs); + pango_attr_list_unref (attrs); pango_font_description_free (font_desc); } |