diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2018-12-10 16:24:27 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2018-12-10 16:24:27 -0500 |
commit | 154f9825ff72d691ba550de573948424b81a09a6 (patch) | |
tree | 4c4bb60be9c2f2cce2f98a4cfc175e72bcba4c7a /gtk2_ardour/ardour_ui_dependents.cc | |
parent | a26e6fed50c1e255dac1eeb4518bab97c647ba99 (diff) |
remove method and inline its contents. Nothing gained by wrapping this up
Diffstat (limited to 'gtk2_ardour/ardour_ui_dependents.cc')
-rw-r--r-- | gtk2_ardour/ardour_ui_dependents.cc | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gtk2_ardour/ardour_ui_dependents.cc b/gtk2_ardour/ardour_ui_dependents.cc index ab2c3a9ef8..3578f6f0d5 100644 --- a/gtk2_ardour/ardour_ui_dependents.cc +++ b/gtk2_ardour/ardour_ui_dependents.cc @@ -60,12 +60,21 @@ namespace ARDOUR { } using namespace ARDOUR; +using namespace Gtkmm2ext; void ARDOUR_UI::we_have_dependents () { install_actions (); - load_bindings (); + + /* other windows and related key-event-handling contexts have already + * called Bindings::get_bindings() to setup their list of keybindings. + * Do that here for the global bindings. + */ + + if ((global_bindings = Bindings::get_bindings (X_("Global"))) == 0) { + error << _("Global keybindings are missing") << endmsg; + } ProcessorBox::register_actions (); |