Migrating from GTK 2.x to GTK 4

If your application is still using GTK 2, you should first convert it to GTK 3, by following the migration guide in the GTK 3 documentation, and then follow these instructions.