refactor: remove unnecessary public methods

WIP/draft
drendog 2024-08-18 03:07:03 +02:00
parent ea0c99a1af
commit 43ea02cd76
Signed by: dwenya
GPG Key ID: 8DD77074645332D0
1 changed files with 2 additions and 2 deletions

View File

@ -231,7 +231,7 @@ impl WindowingSystem {
Ok(slint_component) Ok(slint_component)
} }
pub fn initialize_event_loop_handler(&mut self) { fn initialize_event_loop_handler(&mut self) {
let event_loop_handler = EventLoopHandler::new( let event_loop_handler = EventLoopHandler::new(
Rc::clone(&self.event_queue), Rc::clone(&self.event_queue),
Rc::clone(&self.connection), Rc::clone(&self.connection),
@ -241,7 +241,7 @@ impl WindowingSystem {
self.event_loop_handler = event_loop_handler; self.event_loop_handler = event_loop_handler;
} }
pub fn setup_event_sources(&self) -> Result<()> { fn setup_event_sources(&self) -> Result<()> {
let loop_handle = self.event_loop.handle(); let loop_handle = self.event_loop.handle();
self.event_loop_handler self.event_loop_handler
.setup_wayland_event_source(&loop_handle)?; .setup_wayland_event_source(&loop_handle)?;