gtkmm: use get_mapped instead of deprecated Gtk::Widget::is_mapped()

This commit is contained in:
Mads Kiilerich 2022-01-26 21:17:53 +01:00 committed by Robin Gareus
parent 539ef331d1
commit d52c727ec5
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
19 changed files with 33 additions and 33 deletions

View file

@ -234,7 +234,7 @@ format_time (char* buf, size_t size, int timeout)
void
PluginScanDialog::plugin_scan_timeout (int timeout)
{
if (!is_mapped ()) {
if (!get_mapped ()) {
return;
}
@ -286,14 +286,14 @@ PluginScanDialog::message_handler (std::string type, std::string plugin, bool ca
timeout_info.hide ();
if (type == X_("closeme") && !is_mapped ()) {
if (type == X_("closeme") && !get_mapped ()) {
return;
}
const bool cancelled = PluginManager::instance ().cancelled ();
if (type != X_("closeme") && !UIConfiguration::instance ().get_show_plugin_scan_window () && !verbose) {
if (is_mapped ()) {
if (get_mapped ()) {
hide ();
connections.drop_connections ();
ARDOUR_UI::instance ()->gui_idle_handler ();