redesign toggling of editor/mixer stacking to use Gtkmm2ext::VisibilityTracker
[ardour.git] / libs / gtkmm2ext / utils.cc
index 83ad4537a233e4c01f13eb6e71a19eb8c57f73bd..4bc9113875c04dca7b13823b2d1af29146694586 100644 (file)
 using namespace std;
 
 void
-Gtkmm2ext::init ()
+Gtkmm2ext::init (const char* localedir)
 {
-       // Necessary for gettext
-       (void) bindtextdomain(PACKAGE, LOCALEDIR);
+#ifdef ENABLE_NLS
+       (void) bindtextdomain(PACKAGE, localedir);
+#endif
 }
 
 void