display: fix deprecation warnings for font-size units with newer gtk3