mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +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
|
|
@ -161,7 +161,7 @@ ShuttleControl::ShuttleControl ()
|
|||
_hovering = false;
|
||||
_ignore_change = false;
|
||||
|
||||
set_flags (CAN_FOCUS);
|
||||
set_can_focus ();
|
||||
add_events (Gdk::ENTER_NOTIFY_MASK | Gdk::LEAVE_NOTIFY_MASK | Gdk::BUTTON_RELEASE_MASK | Gdk::BUTTON_PRESS_MASK | Gdk::POINTER_MOTION_MASK | Gdk::SCROLL_MASK);
|
||||
set_name (X_("ShuttleControl"));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue