make stock_browser.rb sample gtk3 ready

The sample spits some warnings, but also the C version does.