diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2021-11-13 13:33:55 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2021-11-13 13:33:55 +0300 |
commit | e81047b8a2f4a063a7ba83b0aab749b3e1ce7e55 (patch) | |
tree | 27952af9759dc53fd80e9b4bcda48fe096c1e821 /video/closedcaption/src/cea608overlay/imp.rs | |
parent | 78d7cbd7dd32fb24e23d3c4bcf3607644c0e5c0a (diff) |
cea608overlay: Fix compilation after Pango API changes
Diffstat (limited to 'video/closedcaption/src/cea608overlay/imp.rs')
-rw-r--r-- | video/closedcaption/src/cea608overlay/imp.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/closedcaption/src/cea608overlay/imp.rs b/video/closedcaption/src/cea608overlay/imp.rs index d69d4a5ae..6a4c449ec 100644 --- a/video/closedcaption/src/cea608overlay/imp.rs +++ b/video/closedcaption/src/cea608overlay/imp.rs @@ -159,7 +159,7 @@ impl Cea608Overlay { if self.settings.lock().unwrap().black_background { let attrs = pango::AttrList::new(); - let attr = pango::AttrColor::new_background(0, 0, 0).upcast(); + let attr = pango::AttrColor::new_background(0, 0, 0); attrs.insert(attr); layout.set_attributes(Some(&attrs)); } |