Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix GNOME Shell Wayland session crashing when trying to pick a color #67
This PR fixes #65 by importing GtkColorSelection from GTK+ into a local widget, and making the picker button insensitive when running on Wayland.
Importing the widget has been coming for a while so we might as well fix this the right way, right away. In the importing process, I have made a few changes to the code so to make it compile with our stricter compiler flags and to remove the deprecated GdkColor API (which also allowed to remove some indirection in Gcolor3Window).
There is more deprecated API left which I plan to resolve at a later stage, and eventually I'll have to import GtkHSV as well.