GNOME Bugzilla – Bug 678876
Fix parsing of CSS stylesheet with gtk+ 3.4
Last modified: 2016-03-31 13:58:15 UTC
gtk+ 3.4 expects the horizontal and vertical offsets of text-shadow and icon-shadow CSS properties to be unitless otherwise it fails to parse them, and it returns an error parsing the whole CSS stylesheet ("Horizontal and vertical offsets are required"). This causes GNOME Boxes to be wrongly styled/themed, and looks ugly. This will be fixed with gtk+ 3.6, but in the 3.4 series, let's go with an easy fix and remove units from these properties.
Created attachment 217283 [details] [review] Fix parsing of CSS stylesheet with gtk+ 3.4
NB: this is mainly aimed at the gnome-3-4 branch, I think master is fine.
Review of attachment 217283 [details] [review]: ACK but remember to push it to gnome-3-4 branch only.
I've pushed this a while ago: http://git.gnome.org/browse/gnome-boxes/commit/?h=gnome-3-4&id=f973b38e04d7b082ffe8d68de28332792744e8be