Skip to content

Commit

Permalink
chore: remove useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
Decodetalkers committed Jan 20, 2025
1 parent 0635ce6 commit df24a9d
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions iced_layershell/src/actions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,6 @@ pub(crate) enum LayerShellAction {
NewMenu((IcedNewPopupSettings, iced_core::window::Id)),
}

pub trait IsSingleton {
fn is_singleton(&self) -> bool {
false
}
}

pub struct MainWindowInfo;

impl TryFrom<MainWindowInfo> for () {
type Error = ();
fn try_from(_: MainWindowInfo) -> Result<(), Self::Error> {
Err(())
}
}

impl IsSingleton for () {}

#[derive(Debug, PartialEq, Eq, Clone, Copy)]
pub struct IcedNewPopupSettings {
pub size: (u32, u32),
Expand Down

0 comments on commit df24a9d

Please sign in to comment.