New method available in Gdk > 3.15 and missing from Gdk < 3.15