Update gtk-rs deps for return value nullability trust
This commit is contained in:
parent
be09d49756
commit
fc6d3668c0
3 changed files with 30 additions and 32 deletions
|
|
@ -364,9 +364,7 @@ impl LpWindow {
|
|||
}
|
||||
|
||||
let display = gdk::Display::default().unwrap();
|
||||
let monitor = display
|
||||
.monitor_at_surface(&self.native().unwrap().surface().unwrap())
|
||||
.unwrap();
|
||||
let monitor = display.monitor_at_surface(&self.native().unwrap().surface());
|
||||
let monitor_geometry = monitor.geometry();
|
||||
|
||||
let monitor_width = monitor_geometry.width();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue