Commit 33c75c2
theme-parser: Use peek_required_version() for validation
When validating button functions and frame styles, the required
format version of the features used in the theme was compared to
the major version number of the supported format, limiting additions
to major theme format bumps.
Use peek_required_version() instead, so the minor version number
of the supported theme format is taken into account.
https://bugzilla.gnome.org/show_bug.cgi?id=6356831 parent c9c3f85 commit 33c75c2
1 file changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2975 | 2975 | | |
2976 | 2976 | | |
2977 | 2977 | | |
| 2978 | + | |
2978 | 2979 | | |
2979 | 2980 | | |
2980 | 2981 | | |
| |||
2993 | 2994 | | |
2994 | 2995 | | |
2995 | 2996 | | |
| 2997 | + | |
2996 | 2998 | | |
2997 | | - | |
| 2999 | + | |
2998 | 3000 | | |
2999 | 3001 | | |
3000 | 3002 | | |
3001 | 3003 | | |
3002 | | - | |
| 3004 | + | |
3003 | 3005 | | |
3004 | 3006 | | |
3005 | 3007 | | |
| |||
3940 | 3942 | | |
3941 | 3943 | | |
3942 | 3944 | | |
3943 | | - | |
| 3945 | + | |
3944 | 3946 | | |
3945 | 3947 | | |
3946 | 3948 | | |
| |||
0 commit comments