gst: follow ruby/gi API change