gtk3 sample: suppress warnings for deprecated API