gtk-rs / gtk4-rs

Rust bindings of GTK 4
https://gtk-rs.org/gtk4-rs/
MIT License
1.9k stars 174 forks source link

[BUG] `ToplevelSize::bounds` passes two null pointers #579

Closed mahkoh closed 3 years ago

mahkoh commented 3 years ago

https://github.com/gtk-rs/gtk4-rs/blob/533152fd45b251de237021af2d10a74e40611ce1/gdk4/src/toplevel_size.rs#L15-L23

Instead it should pass pointers to stack allocated ints.

sdroege commented 3 years ago

Indeed, thanks for reporting. Do you want to provide a PR for this?