Fix log window on current GTK4
This API takes a single bytes
type. Earlier versions of GTK4 had incorrect introspection data.
I didn't handle the old way, but if you test it on the old version and tell me what exception it raises I could handle it.