tests: Port to Gtk4

Merged Florian Müllner requested to merge fmuellner/gnome-shell:more-gtk4 into main

There's another remaining bit of Gtk3 code in a small test program that changes a window title to a random character sequence every five seconds. While the value of that test is a bit questionable, it doesn't hurt either and a port is trivial.

Merge request reports