gtk2: support interrupt in Gtk.main