Support Ruby/GIO2 2.2.0 or later