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
|
|
@ -130,7 +130,7 @@ CANVAS_UI::CANVAS_UI (int *argcp, char **argvp[], const char* localedir)
|
|||
|
||||
Gtkmm2ext::WindowTitle title ("Canvas Test");
|
||||
_main_window.set_title (title.get_string());
|
||||
_main_window.set_flags (CAN_FOCUS);
|
||||
_main_window.set_can_focus ();
|
||||
_main_window.signal_delete_event().connect (sigc::mem_fun (*this, &CANVAS_UI::main_window_delete_event));
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue