Regression: gtk_css_provider_load_from_data() signature changed for language bindings
In commit 93a875bf, (array length=length) (element-type utf8)
have been removed from the description of gtk_css_provider_load_from_data()
's data
parameter.
As a result language bindings break.
Here's a little Python example to illustrate the issue.
from gi.repository import Gtk
prov = Gtk.CssProvider.new()
prov.load_from_data("* { background: white; }".encode("utf-8"))
It works fine on 4.8.3, but breaks on main
.
gobject-introspection: 1.74.0
PyGObject: 3.42.2