gdk3 test: don't use deprecated API