Fix incompatibility for CssProvider.load_from_data() (GTK 4.10)
In GTK 4.8, bytes
are expected, in GTK 4.10, you can provider a string
, with a length.
This patch still allows bytes
for backwards compatibility, and add support for
strings in GTK 4.8 and before.