diff options
Diffstat (limited to 'gtk2_ardour/editing.cc')
-rw-r--r-- | gtk2_ardour/editing.cc | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/gtk2_ardour/editing.cc b/gtk2_ardour/editing.cc index b6894ed2f5..486808065e 100644 --- a/gtk2_ardour/editing.cc +++ b/gtk2_ardour/editing.cc @@ -29,7 +29,6 @@ using namespace std; // This involves some cpp magic. --taybin #define SNAPTYPE(a) /*empty*/ -#define SNAPDELTA(a) /*empty*/ #define SNAPMODE(a) /*empty*/ #define REGIONLISTSORTTYPE(a) /*empty*/ #define MOUSEMODE(a) /*empty*/ @@ -58,27 +57,6 @@ const char *snaptypestrs[] = { #undef SNAPTYPE #define SNAPTYPE(a) /*empty*/ - -// SNAPDELTA -#undef SNAPDELTA -#define SNAPDELTA(s) if (!strcmp(type, #s)) {return s;} -SnapDelta -str2snapdelta (const string & str) { - const char* type = str.c_str(); - #include "editing_syms.h" - return SnapAbsolute; -} - -#undef SNAPDELTA -#define SNAPDELTA(s) N_(#s), -const char *snapdeltastrs[] = { - #include "editing_syms.h" - 0 -}; -#undef SNAPDELTA -#define SNAPDELTA(a) /*empty*/ - - // SNAPMODE #undef SNAPMODE #define SNAPMODE(s) if (!strcmp(type, #s)) {return s;} |