remove using namespace sigc everywhere to ensure clarity over which bind/mem_fun...
[ardour.git] / gtk2_ardour / ardour_ui.cc
index 44f9b9442e6390464d5504ea43c0f0dffaaa0a50..9086bde940c67f40a5dd232e27a1821f683cfc2a 100644 (file)
@@ -103,7 +103,6 @@ using namespace ARDOUR;
 using namespace PBD;
 using namespace Gtkmm2ext;
 using namespace Gtk;
-using namespace sigc;
 
 ARDOUR_UI *ARDOUR_UI::theArdourUI = 0;
 UIConfiguration *ARDOUR_UI::ui_config = 0;
@@ -410,7 +409,8 @@ ARDOUR_UI::post_engine ()
        update_sample_rate (engine->frame_rate());
 
        Config->ParameterChanged.connect (sigc::mem_fun (*this, &ARDOUR_UI::parameter_changed));
-       Config->map_parameters (sigc::mem_fun (*this, &ARDOUR_UI::parameter_changed));
+       boost::function<void (string)> pc (boost::bind (&ARDOUR_UI::parameter_changed, this, _1));
+       Config->map_parameters (pc);
 
        /* now start and maybe save state */