updated .po files, including new cs versions for libs/ardour and libs/gtkmm2ext
[ardour.git] / libs / ardour / session_configuration.cc
index 0cdb85bfd0f160ccdca41479206484067a581d9b..cfb6fb86686408734a3777e99390cd4260e99aad 100644 (file)
@@ -20,7 +20,6 @@
 #include "ardour/types.h"
 #include "ardour/utils.h"
 #include "ardour/session_configuration.h"
-#include "ardour/ardour.h"
 #include "i18n.h"
 
 using namespace ARDOUR;
@@ -112,12 +111,12 @@ SessionConfiguration::set_variables (const XMLNode& node)
 
 }
 void
-SessionConfiguration::map_parameters (sigc::slot<void, std::string> theSlot)
+SessionConfiguration::map_parameters (boost::function<void (std::string)>& functor)
 {
 #undef  CONFIG_VARIABLE
 #undef  CONFIG_VARIABLE_SPECIAL
-#define CONFIG_VARIABLE(type,var,name,value)                 theSlot (name);
-#define CONFIG_VARIABLE_SPECIAL(type,var,name,value,mutator) theSlot (name);
+#define CONFIG_VARIABLE(type,var,name,value)                 functor (name);
+#define CONFIG_VARIABLE_SPECIAL(type,var,name,value,mutator) functor (name);
 #include "ardour/session_configuration_vars.h"
 #undef  CONFIG_VARIABLE
 #undef  CONFIG_VARIABLE_SPECIAL