From 43ea02cd768c72574fe72a266d4e08df599531f8 Mon Sep 17 00:00:00 2001 From: drendog Date: Sun, 18 Aug 2024 03:07:03 +0200 Subject: [PATCH] refactor: remove unnecessary public methods --- src/windowing/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/windowing/mod.rs b/src/windowing/mod.rs index 46b2dcd..f10be26 100644 --- a/src/windowing/mod.rs +++ b/src/windowing/mod.rs @@ -231,7 +231,7 @@ impl WindowingSystem { Ok(slint_component) } - pub fn initialize_event_loop_handler(&mut self) { + fn initialize_event_loop_handler(&mut self) { let event_loop_handler = EventLoopHandler::new( Rc::clone(&self.event_queue), Rc::clone(&self.connection), @@ -241,7 +241,7 @@ impl WindowingSystem { 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(); self.event_loop_handler .setup_wayland_event_source(&loop_handle)?;