mirror of
				https://codeberg.org/waydeer/layer-shika.git
				synced 2025-11-04 03:04:23 +00:00 
			
		
		
		
	refactor: remove unnecessary public methods
This commit is contained in:
		
							parent
							
								
									ea0c99a1af
								
							
						
					
					
						commit
						43ea02cd76
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -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)?;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue