X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fkeyeditor.cc;h=83481d8172da37b626c7f6502213ae7fe5787638;hb=04db4c788c8bf5070eb13b9165277ea81ab50070;hp=96a9857412754f0feaec5deca478cbebea4ab47c;hpb=64dc5427e4f5339a16a018692dd94f476c53cae9;p=ardour.git diff --git a/gtk2_ardour/keyeditor.cc b/gtk2_ardour/keyeditor.cc index 96a9857412..83481d8172 100644 --- a/gtk2_ardour/keyeditor.cc +++ b/gtk2_ardour/keyeditor.cc @@ -1,3 +1,26 @@ +/* + Copyright (C) 2002 Paul Davis + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +*/ + +#ifdef WAF_BUILD +#include "gtk2ardour-config.h" +#endif + #include #include "ardour/profile.h" @@ -8,6 +31,8 @@ #include #include +#include "gtkmm2ext/utils.h" + #include "pbd/strsplit.h" #include "pbd/replace_all.h" @@ -173,7 +198,7 @@ KeyEditor::on_key_release_event (GdkEventKey* ev) } cerr << "real lkeyval: " << ev->keyval << endl; - possibly_translate_keyval_to_make_legal_accelerator (ev->keyval); + Gtkmm2ext::possibly_translate_keyval_to_make_legal_accelerator (ev->keyval); cerr << "using keyval = " << ev->keyval << endl;