gtkmm: use set_can_focus() instead of deprecated Gtk::Widget::set_flags(CAN_FOCUS)

This commit is contained in:
Mads Kiilerich 2022-01-26 22:29:36 +01:00 committed by Robin Gareus
parent 4c3c433700
commit 7f649efd42
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
32 changed files with 49 additions and 49 deletions

View file

@ -422,7 +422,7 @@ StepEntry::StepEntry ()
length_divisor_adjustment.signal_value_changed().connect (sigc::mem_fun (*this, &StepEntry::length_value_change));
dot_adjustment.signal_value_changed().connect (sigc::mem_fun (*this, &StepEntry::dot_value_change));
_piano.set_flags (Gtk::CAN_FOCUS);
_piano.set_can_focus ();
_piano.NoteOff.connect (sigc::mem_fun (*this, &StepEntry::note_off_event_handler));
_piano.Rest.connect (sigc::mem_fun (*this, &StepEntry::rest_event_handler));