We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a52e89c commit e06fd70Copy full SHA for e06fd70
1 file changed
mate-volume-control/gvc-mixer-dialog.c
@@ -1307,7 +1307,12 @@ make_label_bold (GtkLabel *label)
1307
* from the current state of the widget, which comes from the
1308
* theme or user prefs, since the font desc only has the
1309
* weight flag turned on. */
1310
- gtk_widget_override_font (GTK_WIDGET (label), font_desc);
+ PangoAttrList *attrs = pango_attr_list_new ();
1311
+ PangoAttribute *font_desc_attr = pango_attr_font_desc_new (font_desc);
1312
+ pango_attr_list_insert (attrs, font_desc_attr);
1313
+ gtk_label_set_attributes (label, attrs);
1314
+ pango_attr_list_unref (attrs);
1315
+
1316
pango_font_description_free (font_desc);
1317
}
1318
0 commit comments