Pango.AttrList attr_list = new Pango.AttrList ();
var style = Gtk.rc_get_style_by_paths (this.get_settings (), "SmallSystemFont", null, typeof (void));
if (style != null) {
- Pango.Attribute attr_font_desc = Pango.attr_font_desc_new (style.font_desc.copy ());
+ var attr_font_desc = new Pango.AttrFontDesc (style.font_desc.copy ());
attr_list.insert ((owned) attr_font_desc);
} else {
Pango.Attribute attr_font_scale = Pango.attr_scale_new (Pango.Scale.SMALL);