summaryrefslogtreecommitdiffstats
path: root/examples/layout/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/layout/src/main.rs')
-rw-r--r--examples/layout/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/layout/src/main.rs b/examples/layout/src/main.rs
index c40ac820..2e774415 100644
--- a/examples/layout/src/main.rs
+++ b/examples/layout/src/main.rs
@@ -10,7 +10,7 @@ use iced::{
};
pub fn main() -> iced::Result {
- iced::program(Layout::title, Layout::update, Layout::view)
+ iced::application(Layout::title, Layout::update, Layout::view)
.subscription(Layout::subscription)
.theme(Layout::theme)
.run()