gtk3: make one sample script gtk3 ready