Movie / source list view: use the Pango.AttrFontDesc constructor
[cinaest] / src / movie-list-view.vala
index 4f3eabd..56bcaff 100644 (file)
@@ -78,7 +78,7 @@ public class MovieListView : PannableArea {
                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);