summaryrefslogtreecommitdiffstats
path: root/examples/checkbox
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-03-17 14:16:38 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-03-17 14:19:12 +0100
commit54f44754eb216d4b2c08cd2a7c3582f1dc295205 (patch)
tree9f4a999ad92c62a1cf4df4559ff320fda83577c1 /examples/checkbox
parent7e1ef7d150aa3d4d05942eea2706348f20d61d64 (diff)
downloadiced-54f44754eb216d4b2c08cd2a7c3582f1dc295205.tar.gz
iced-54f44754eb216d4b2c08cd2a7c3582f1dc295205.tar.bz2
iced-54f44754eb216d4b2c08cd2a7c3582f1dc295205.zip
Move `Program` to `application` module
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 6a3b9464..38949336 100644
--- a/examples/checkbox/src/main.rs
+++ b/examples/checkbox/src/main.rs
@@ -4,7 +4,7 @@ use iced::{Element, Font, Length};
const ICON_FONT: Font = Font::with_name("icons");
pub fn main() -> iced::Result {
- iced::application("Checkbox - Iced", Example::update, Example::view)
+ iced::program("Checkbox - Iced", Example::update, Example::view)
.font(include_bytes!("../fonts/icons.ttf").as_slice())
.run()
}