summaryrefslogtreecommitdiffstats
path: root/examples/screenshot/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--examples/screenshot/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/screenshot/src/main.rs b/examples/screenshot/src/main.rs
index 296a7f54..d887c41b 100644
--- a/examples/screenshot/src/main.rs
+++ b/examples/screenshot/src/main.rs
@@ -13,7 +13,7 @@ use ::image::ColorType;
fn main() -> iced::Result {
tracing_subscriber::fmt::init();
- iced::application("Screenshot - Iced", Example::update, Example::view)
+ iced::program("Screenshot - Iced", Example::update, Example::view)
.subscription(Example::subscription)
.run()
}