projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
redesign toggling of editor/mixer stacking to use Gtkmm2ext::VisibilityTracker
[ardour.git]
/
libs
/
gtkmm2ext
/
utils.cc
diff --git
a/libs/gtkmm2ext/utils.cc
b/libs/gtkmm2ext/utils.cc
index 83ad4537a233e4c01f13eb6e71a19eb8c57f73bd..4bc9113875c04dca7b13823b2d1af29146694586 100644
(file)
--- a/
libs/gtkmm2ext/utils.cc
+++ b/
libs/gtkmm2ext/utils.cc
@@
-37,10
+37,11
@@
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