Update code to Gtk3.