summaryrefslogtreecommitdiffstats
path: root/examples/multi_window
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-06-20 01:13:42 +0200
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-06-20 01:13:42 +0200
commitc5f4bebeda8d6ef10efade7933a5ee58f06b62d1 (patch)
tree06bf997c68ec1e6d67bfc0c728553f31f8d23787 /examples/multi_window
parent92e08c8f07511cc212cbce545fb7739ef1a4bf1f (diff)
downloadiced-c5f4bebeda8d6ef10efade7933a5ee58f06b62d1.tar.gz
iced-c5f4bebeda8d6ef10efade7933a5ee58f06b62d1.tar.bz2
iced-c5f4bebeda8d6ef10efade7933a5ee58f06b62d1.zip
Remove `window::Id::MAIN` constant
Diffstat (limited to 'examples/multi_window')
-rw-r--r--examples/multi_window/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/multi_window/src/main.rs b/examples/multi_window/src/main.rs
index dfb816cf..98e753ab 100644
--- a/examples/multi_window/src/main.rs
+++ b/examples/multi_window/src/main.rs
@@ -57,7 +57,7 @@ impl Example {
return Task::none();
};
- window::fetch_position(*last_window)
+ window::get_position(*last_window)
.then(|last_position| {
let position = last_position.map_or(
window::Position::Default,