summaryrefslogtreecommitdiffstats
path: root/examples/checkbox
diff options
context:
space:
mode:
Diffstat (limited to 'examples/checkbox')
-rw-r--r--examples/checkbox/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/checkbox/src/main.rs b/examples/checkbox/src/main.rs
index 77111490..c5f3c134 100644
--- a/examples/checkbox/src/main.rs
+++ b/examples/checkbox/src/main.rs
@@ -3,7 +3,7 @@ use iced::font::{self, Font};
use iced::widget::{checkbox, column, container};
use iced::{Application, Command, Element, Length, Settings, Theme};
-const ICON_FONT: Font = Font::Name("icons");
+const ICON_FONT: Font = Font::with_name("icons");
pub fn main() -> iced::Result {
Example::run(Settings::default())