- if (!style.lookup_color ("SecondaryTextColor", out color)) {
- Gdk.Color.parse ("grey", out color);
+ window.ensure_style ();
+ if (window.style.lookup_color ("SecondaryTextColor", out color)) {
+ Pango.Attribute attr_color = Pango.attr_foreground_new (color.red, color.green, color.blue);
+ attr_list.insert ((owned) attr_color);