GTK3->GTK4 migrating link claims
At the same time, you should stop using GdkVisual APIs, since this object not longer exists in GTK 4
But not all the functions are deprecated link