mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +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
|
|
@ -3122,7 +3122,7 @@ ARDOUR_UI::setup_toplevel_window (Gtk::Window& window, const string& name, void*
|
|||
window.set_title (title.get_string());
|
||||
window.set_wmclass (string_compose (X_("%1_%1"), downcase (std::string(PROGRAM_NAME)), downcase (name)), PROGRAM_NAME);
|
||||
|
||||
window.set_flags (CAN_FOCUS);
|
||||
window.set_can_focus ();
|
||||
window.add_events (Gdk::KEY_PRESS_MASK|Gdk::KEY_RELEASE_MASK);
|
||||
|
||||
/* This is a hack to ensure that GTK-accelerators continue to
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue