enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.h
[ardour.git] / libs / pbd / controllable.cc
index f95ddcce2ef1b32e9a23f7ffd7c026092e1872ab..b730a42980ffa08b05b8ec3390c22690113088c5 100644 (file)
@@ -23,7 +23,7 @@
 #include "pbd/error.h"
 #include "pbd/locale_guard.h"
 
-#include "i18n.h"
+#include "pbd/i18n.h"
 
 using namespace PBD;
 using namespace std;
@@ -107,7 +107,7 @@ XMLNode&
 Controllable::get_state ()
 {
        XMLNode* node = new XMLNode (xml_node_name);
-       LocaleGuard lg ();
+       LocaleGuard lg;
        char buf[64];
 
        /* Waves' "Pressure3" has a parameter called "ยต-iness"
@@ -138,7 +138,7 @@ Controllable::get_state ()
 int
 Controllable::set_state (const XMLNode& node, int /*version*/)
 {
-       LocaleGuard lg ();
+       LocaleGuard lg;
        const XMLProperty* prop;
 
        Stateful::save_extra_xml (node);