X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fediting.cc;h=486808065e28ed9b11b0de10d415ca837346a100;hb=1474b10d39873538f93a466517f518c5013d1ac3;hp=1e58fcddbc16bb44cc32ef52a3180c3e077fd5f5;hpb=68e943265edf04e63a8e8b8f62bab20f99d9c637;p=ardour.git diff --git a/gtk2_ardour/editing.cc b/gtk2_ardour/editing.cc index 1e58fcddbc..486808065e 100644 --- a/gtk2_ardour/editing.cc +++ b/gtk2_ardour/editing.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2000-2007 Paul Davis + Copyright (C) 2000-2007 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 @@ -115,25 +115,6 @@ const char *mousemodestrs[] = { #undef MOUSEMODE #define MOUSEMODE(a) /*empty*/ -// MIDIEDITMODE -#undef MIDIEDITMODE -#define MIDIEDITMODE(s) if (!strcmp(type, #s)) {return s;} -MidiEditMode -str2midieditmode (const string & str) { - const char* type = str.c_str(); - #include "editing_syms.h" - return MidiEditSelect; -} - -#undef MIDIEDITMODE -#define MIDIEDITMODE(s) N_(#s), -const char *midieditmodestrs[] = { - #include "editing_syms.h" - 0 -}; -#undef MIDIEDITMODE -#define MIDIEDITMODE(a) /*empty*/ - // ZOOMFOCUS #undef ZOOMFOCUS #define ZOOMFOCUS(s) if (!strcmp(type, #s)) {return s;}