gtk-rs / gtk-rs-core

Rust bindings for GNOME libraries
https://gtk-rs.org/gtk-rs-core
MIT License
293 stars 115 forks source link

Safely and correctly convert InetAddress to IpAddr #1536

Closed swsnr closed 1 month ago

swsnr commented 1 month ago

Removes use of unsafe code for conversion and implicitly fixes endianess issues in conversion.

Fixes #1535

swsnr commented 1 month ago

I can't make sense of the CI failure; any pointers?

sdroege commented 1 month ago

The size mismatch is because the .gir files don't match the installed GLib version anymore. Don't worry about that, I'll take care of it.