diff options
author | 2025-01-06 23:20:12 +0100 | |
---|---|---|
committer | 2025-01-06 23:20:51 +0100 | |
commit | 91fd6d395fad08bcf5d068be95575865ccb305cb (patch) | |
tree | 951a1ad8512097d71cf9edf44aacbdadab98932c /winit | |
parent | 00b60d819b25abe14790a26fe0eb5818c3c6bc4f (diff) | |
download | iced-91fd6d395fad08bcf5d068be95575865ccb305cb.tar.gz iced-91fd6d395fad08bcf5d068be95575865ccb305cb.tar.bz2 iced-91fd6d395fad08bcf5d068be95575865ccb305cb.zip |
Remove `window::change_title` since it's redundant
Applications can change title declaratively.
Diffstat (limited to 'winit')
-rw-r--r-- | winit/src/program.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/winit/src/program.rs b/winit/src/program.rs index 58f4d96d..2bb0f910 100644 --- a/winit/src/program.rs +++ b/winit/src/program.rs @@ -1321,11 +1321,6 @@ fn run_action<P, C>( })); } } - window::Action::ChangeTitle(id, title) => { - if let Some(window) = window_manager.get_mut(id) { - window.raw.set_title(&title); - } - } window::Action::SetResizable(id, resizable) => { if let Some(window) = window_manager.get_mut(id) { window.raw.set_resizable(resizable); |