Fix some confusion about handling of route extra XML. Fixes #3574.
[ardour.git] / gtk2_ardour / keyeditor.cc
index 96a9857412754f0feaec5deca478cbebea4ab47c..83481d8172da37b626c7f6502213ae7fe5787638 100644 (file)
@@ -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 <map>
 
 #include "ardour/profile.h"
@@ -8,6 +31,8 @@
 #include <gtkmm/accelmap.h>
 #include <gtkmm/uimanager.h>
 
+#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;