remove using namespace sigc everywhere to ensure clarity over which bind/mem_fun...
[ardour.git] / gtk2_ardour / ardour_dialog.cc
index 7c78677d3ebde3d341d462c15388268cb7f612ab..cafb356d60d4e16378dcb0ffb5c75cb49985e2b0 100644 (file)
@@ -30,8 +30,8 @@
 #include "utils.h"
 
 using namespace std;
-using namespace sigc;
 using namespace Gtk;
+using namespace Gtkmm2ext;
 
 sigc::signal<void> ArdourDialog::CloseAllDialogs;
 
@@ -87,13 +87,13 @@ ArdourDialog::on_show ()
        Dialog::on_show ();
 }
 
-void 
+void
 ArdourDialog::init ()
 {
        session = 0;
        set_type_hint(Gdk::WINDOW_TYPE_HINT_DIALOG);
        set_border_width (10);
-       CloseAllDialogs.connect (bind (mem_fun (*this, &ArdourDialog::response), RESPONSE_CANCEL));
+       CloseAllDialogs.connect (sigc::bind (sigc::mem_fun (*this, &ArdourDialog::response), RESPONSE_CANCEL));
 }
 
 bool