gtk3: support interrupt in Gtk.main