gtkmm: use get_sensitive() instead of deprecated Gtk::Widget::sensitive()

This commit is contained in:
Mads Kiilerich 2022-01-26 22:02:41 +01:00 committed by Robin Gareus
parent a9965e9b93
commit 71ea2cc7b9
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
3 changed files with 12 additions and 12 deletions

View file

@ -251,7 +251,7 @@ SessionDialog::master_channel_count ()
bool
SessionDialog::use_session_template () const
{
if (!back_button->sensitive () && !new_only) {
if (!back_button->is_sensitive () && !new_only) {
/* open session -- not create a new one */
return false;
}