-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add adwmajor, adwminor and gtkminor flags
* debug attempt * Remove nonsense workflow change from myself * #96 Add Adwaita Version definition mechanism This allows setting the adwaita version specifically via 2 flags: `-d:adwmajor=X` and `-d:adwminor=Y`. These set the constants AdwMajor (default: 1) and AdwMinor (default: 0). The default assumed Adwaita version is thus 1.0. To compile for an adwaita version of 1.4 or higher, simply compile with `-d:adwminor=4`. * #96 add doc comments * #96 Add Gtk Version definition mechanism This allows setting the gtk version specifically via 1 flags: `-d:gtkminor=X`. This sets the constant GtkMinor (default: 0). There is no GtkMajor version as this is implicitly assumed to always be 4, as this library is specifically written for GTK 4. The default assumed GTK version is thus 4.0. To compile for a gtk version of 4.8 or higher, simply compile with `-d:gtkminor=4`. * #96 fix dumb mistake when AdwVersion >= (1, 2) is the comparison needed to include Adwaita version 1.2 or higher.
- Loading branch information
1 parent
90e5db1
commit 6711b9f
Showing
2 changed files
with
24 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters