summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mate-volume-control/gvc-mixer-dialog.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/mate-volume-control/gvc-mixer-dialog.c b/mate-volume-control/gvc-mixer-dialog.c
index b36232c..1f28427 100644
--- a/mate-volume-control/gvc-mixer-dialog.c
+++ b/mate-volume-control/gvc-mixer-dialog.c
@@ -1307,7 +1307,12 @@ make_label_bold (GtkLabel *label)
* from the current state of the widget, which comes from the
* 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);
}