From f1df866093f56ba484e4b0b684df0d34dcd049e6 Mon Sep 17 00:00:00 2001 From: Observer KRypt0n_ Date: Wed, 14 Jun 2023 13:25:02 +0200 Subject: [PATCH] fix: fixed `UnifiedWine` --- src/components/wine/unified_wine.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/wine/unified_wine.rs b/src/components/wine/unified_wine.rs index 2237a0d..12abd2f 100644 --- a/src/components/wine/unified_wine.rs +++ b/src/components/wine/unified_wine.rs @@ -231,10 +231,10 @@ impl WineFontsExt for UnifiedWine { } #[inline] - fn install_corefont(&self, corefont: Corefont) -> anyhow::Result<()> { + fn install_font(&self, font: Font) -> anyhow::Result<()> { match self { - Self::Default(wine) => wine.install_corefont(corefont), - Self::Proton(proton) => proton.install_corefont(corefont) + Self::Default(wine) => wine.install_font(font), + Self::Proton(proton) => proton.install_font(font) } } }