correctly package color theme files for both linux and OS X
[ardour.git] / gtk2_ardour / editing.cc
index b6894ed2f56f38d9bfabcb770299ee1e11f82c38..10181d56ff7879a7bf6e830233b903f37966d962 100644 (file)
 
 #include "editing.h"
 
-#include "i18n.h"
+#include "pbd/i18n.h"
 
 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;}