Add a GTK4 backend for *nix platforms, to eventually replace the existing backend for GTK3.
The GTK3 crate gtk is unmaintained in favor of its more developed predecessor, gtk4. This upgrade notably brings a number of safety and usability improvements for the Rust bindings.
Alternatively, GTK3 support could be removed outright in favor of XDG desktop portals, which should work on most platforms/environments, especially with the zenity fallback, or if using with Flatpak. I'm in favor of keeping GTK as an option for now.
See also: PolyMeilex#227
Add a GTK4 backend for *nix platforms, to eventually replace the existing backend for GTK3.
The GTK3 crate
gtkis unmaintained in favor of its more developed predecessor,gtk4. This upgrade notably brings a number of safety and usability improvements for the Rust bindings.Alternatively, GTK3 support could be removed outright in favor of XDG desktop portals, which should work on most platforms/environments, especially with the
zenityfallback, or if using with Flatpak. I'm in favor of keeping GTK as an option for now.See also: PolyMeilex#227