summaryrefslogtreecommitdiff
path: root/gtk2_ardour/port_matrix.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-05-08 01:20:33 +0000
committerCarl Hetherington <carl@carlh.net>2010-05-08 01:20:33 +0000
commit8d0581a720dd73c7714289ae8db12455c6f5c8c7 (patch)
tree0b9024b067f5abe53088c04f779531f72f95f271 /gtk2_ardour/port_matrix.h
parent129ace60e24aa7b5297563d389edbae1d70a3a80 (diff)
Remove use of i18n macros in headers. Prevents our gettext.h being included before libintl.h, which causes failures when ENABLE_NLS is not defined (bug #3111)
git-svn-id: svn://localhost/ardour2/branches/3.0@7081 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/port_matrix.h')
-rw-r--r--gtk2_ardour/port_matrix.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk2_ardour/port_matrix.h b/gtk2_ardour/port_matrix.h
index 0c0a52a1a1..52e2f1663b 100644
--- a/gtk2_ardour/port_matrix.h
+++ b/gtk2_ardour/port_matrix.h
@@ -35,7 +35,6 @@
#include "port_group.h"
#include "port_matrix_types.h"
-#include "i18n.h"
/** The `port matrix' UI. This is a widget which lets the user alter
* associations between one set of ports and another. e.g. to connect
@@ -146,7 +145,7 @@ public:
}
virtual void rename_channel (ARDOUR::BundleChannel) {}
virtual std::string disassociation_verb () const = 0;
- virtual std::string channel_noun () const { return _("channel"); }
+ virtual std::string channel_noun () const;
enum Result {
Cancelled,