summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/src/window.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/runtime/src/window.rs b/runtime/src/window.rs
index e82d4505..9be61315 100644
--- a/runtime/src/window.rs
+++ b/runtime/src/window.rs
@@ -73,9 +73,6 @@ pub enum Action {
/// Get the current [`Mode`] of the window.
GetMode(Id, oneshot::Sender<Mode>),
- /// Change the title of the window.
- ChangeTitle(Id, String),
-
/// Toggle the window to maximized or back
ToggleMaximize(Id),
@@ -388,11 +385,6 @@ pub fn change_level<T>(id: Id, level: Level) -> Task<T> {
task::effect(crate::Action::Window(Action::ChangeLevel(id, level)))
}
-/// Changes the title of the window.
-pub fn change_title<T>(id: Id, title: String) -> Task<T> {
- task::effect(crate::Action::Window(Action::ChangeTitle(id, title)))
-}
-
/// Set the inner maximum size of the window.
pub fn set_max_size<T>(id: Id, size: Option<Size>) -> Task<T> {
task::effect(crate::Action::Window(Action::SetMaxSize(id, size)))