GNOME Bugzilla – Bug 765698
gtk-styles.css: adapt to GTK+ 3.21 CSS strictness
Last modified: 2017-04-17 18:20:40 UTC
GTK+ 3.21 is stricter about CSS values having a unit defined. Fix the gnome-calendar CSS accordingly.
Created attachment 326900 [details] [review] gtk-styles.css: adapt to GTK+ 3.21 CSS strictness
Review of attachment 326900 [details] [review]: This patch breaks my Calendar, even when compiling against Gtk+ 3.21. The fonts are much bigger.
That seems odd, can you provide a screenshot. In essence nothing is changing, besides the css defining the font as being in pt size, which was the default anyway. If you don't have the patch and you run calendar vs gtk+ 3.21 you should see a lack of styling (weird colors, sizes, etc.), since the incorrect CSS disables all the other styling in a block as well.
With the last 3.22 dependencies looks good to me.
I was indeed testing it wrongly. The patch does work as expected. Thanks for working on that, and sorry for the trouble. Attachment 326900 [details] pushed as feedfa4 - gtk-styles.css: adapt to GTK+ 3.21 CSS strictness