mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
gtkmm: use set_can_focus() instead of deprecated Gtk::Widget::set_flags(CAN_FOCUS)
This commit is contained in:
parent
4c3c433700
commit
7f649efd42
32 changed files with 49 additions and 49 deletions
|
|
@ -391,7 +391,7 @@ MixerStrip::init ()
|
|||
Gdk::KEY_PRESS_MASK|
|
||||
Gdk::KEY_RELEASE_MASK);
|
||||
|
||||
set_flags (get_flags() | Gtk::CAN_FOCUS);
|
||||
set_can_focus ();
|
||||
|
||||
/* Add the widgets under visibility control to the VisibilityGroup; the names used here
|
||||
must be the same as those used in RCOptionEditor so that the configuration changes
|
||||
|
|
@ -593,7 +593,7 @@ MixerStrip::set_route (boost::shared_ptr<Route> rt)
|
|||
monitor_changed ();
|
||||
monitor_section_button->set_related_action (act);
|
||||
set_tooltip (monitor_section_button, _("Show/Hide Monitoring Section"));
|
||||
monitor_section_button->unset_flags (Gtk::CAN_FOCUS);
|
||||
monitor_section_button->set_can_focus (false);
|
||||
monitor_section_added_or_removed ();
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue