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

@ -411,7 +411,7 @@ ARDOUR_UI::toggle_editor_and_mixer ()
if (!mwin) {
/* mixer's own window doesn't exist */
mixer->make_visible ();
} else if (!mwin->is_mapped ()) {
} else if (!mwin->get_mapped ()) {
/* mixer's own window exists but isn't mapped */
mixer->make_visible ();
} else {
@ -435,7 +435,7 @@ ARDOUR_UI::toggle_editor_and_mixer ()
if (!ewin) {
/* mixer's own window doesn't exist */
editor->make_visible ();
} else if (!ewin->is_mapped ()) {
} else if (!ewin->get_mapped ()) {
/* editor's own window exists but isn't mapped */
editor->make_visible ();
} else {