Stay compatible with older versions of GTK.