show-emoji-icon is missing "minimum version"/since constraint
Background
show-emoji-icon does not seem to list any version constraints.
As far as I can tell, this feature was introduced via gtk@558aebfb, and has been available since 3.24.19
.
This was discovered when attempting to build a project on Windows via the GTK-for-Windows-Runtime-Environment-Installer.
The latest release includes support for GTK3 3.24.18
, one patch version prior to the addition of the show-emoji-icon
feature.
Steps to reproduce
(Windows)
- Install the latest GTK3 toolchain (
GTK3-3.24.18
) from the GTK-for-Windows-Runtime-Environment-Installer project
(Linux)
- Create a project in Glade with a minimum required version of
3.22
- Add a GtkSearchEntry
- Enable "Emoji icon" for the entry
- Try to build a GTK project using this interface file
Current behavior
The project fails to build on Windows (using gtk-rs), citing invalid/unknown properties, such as the previously mentioned show-emoji-icon
property on GtkSearchEntry.
Removing the unknown properties allows the program to compile and run.
Expected outcome
I typically expect Glade to inform me when a feature is not compatible with the current minimum version for my project.
On Riot, @tintou mentioned that properties and widgets are not often added in patch versions, which is why glade doesn't support specifying specific patch versions (e.g. 3.22.19
vs just 3.22
).
While the highest I can go in terms of "Minimum required version" is only 3.22
, I would still expect Glade to inform me that 3.24 is required for the show-emoji-icon
property, for instance.
Version information
Windows
- system/host os:
Windows 10 (OS Build 18363.900)
- GTK:
GTK3-3.24.18
Linux
- system:
"x86_64-linux"
- host os:
Linux 5.6.15, NixOS, 20.09pre227577.135073a87b7 (Nightingale)
- GTK:
GTK3-3.24.20
Additional information
It seems this has nearly been added before? (via gtk@630f8395)