From 8687895abba4209a6de8d8a8fc1bda5996f0d875 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 12 Dec 2009 15:02:15 +0000 Subject: remove using namespace sigc everywhere to ensure clarity over which bind/mem_fun is being used; make Config::map_parameters take a boost::function rather than a sigc::slot ; continue debugging crash caused by regionviews not tracking their Region's lifetime git-svn-id: svn://localhost/ardour2/branches/3.0@6357 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/midi_ui.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/ardour/midi_ui.cc') diff --git a/libs/ardour/midi_ui.cc b/libs/ardour/midi_ui.cc index ffcec00de7..1bb10d713f 100644 --- a/libs/ardour/midi_ui.cc +++ b/libs/ardour/midi_ui.cc @@ -44,7 +44,7 @@ MidiControlUI::MidiControlUI (Session& s) : AbstractUI (_("midiui")) , _session (s) { - MIDI::Manager::instance()->PortsChanged.connect (mem_fun (*this, &MidiControlUI::change_midi_ports)); + MIDI::Manager::instance()->PortsChanged.connect (sigc::mem_fun (*this, &MidiControlUI::change_midi_ports)); } MidiControlUI::~MidiControlUI () @@ -125,7 +125,7 @@ MidiControlUI::reset_ports () if ((fd = (*i)->selectable ()) >= 0) { Glib::RefPtr psrc = IOSource::create (fd, IO_IN|IO_HUP|IO_ERR); - psrc->connect (bind (mem_fun (*this, &MidiControlUI::midi_input_handler), (*i))); + psrc->connect (sigc::bind (sigc::mem_fun (*this, &MidiControlUI::midi_input_handler), (*i))); psrc->attach (_main_loop->get_context()); // glibmm hack: for now, store only the GSource* -- cgit v1.2.3