summaryrefslogtreecommitdiff
path: root/gtk2_ardour/option_editor.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-12-11 23:29:48 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-12-11 23:29:48 +0000
commit64dc5427e4f5339a16a018692dd94f476c53cae9 (patch)
tree83b76bb578698dbfcde040aa9013a7351190a9b5 /gtk2_ardour/option_editor.cc
parentd7de23db0f325aaa1dd573739bc9e33925ebdfce (diff)
make all use of bind/mem_fun be explicitly sigc::
git-svn-id: svn://localhost/ardour2/branches/3.0@6354 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/option_editor.cc')
-rw-r--r--gtk2_ardour/option_editor.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/option_editor.cc b/gtk2_ardour/option_editor.cc
index c2937acec2..8674bc0630 100644
--- a/gtk2_ardour/option_editor.cc
+++ b/gtk2_ardour/option_editor.cc
@@ -78,7 +78,7 @@ BoolOption::BoolOption (string const & i, string const & n, slot<bool> g, slot<b
{
_button = manage (new CheckButton (n));
_button->set_active (_get ());
- _button->signal_toggled().connect (mem_fun (*this, &BoolOption::toggled));
+ _button->signal_toggled().connect (sigc::mem_fun (*this, &BoolOption::toggled));
}
void
@@ -107,7 +107,7 @@ EntryOption::EntryOption (string const & i, string const & n, slot<string> g, sl
_label = manage (new Label (n + ":"));
_label->set_alignment (1, 0.5);
_entry = manage (new Entry);
- _entry->signal_activate().connect (mem_fun (*this, &EntryOption::activated));
+ _entry->signal_activate().connect (sigc::mem_fun (*this, &EntryOption::activated));
}
void
@@ -165,7 +165,7 @@ OptionEditor::OptionEditor (Configuration* c, std::string const & t)
show_all_children();
/* Watch out for changes to parameters */
- _config->ParameterChanged.connect (mem_fun (*this, &OptionEditor::parameter_changed));
+ _config->ParameterChanged.connect (sigc::mem_fun (*this, &OptionEditor::parameter_changed));
}
OptionEditor::~OptionEditor ()
@@ -184,7 +184,7 @@ OptionEditor::~OptionEditor ()
void
OptionEditor::parameter_changed (std::string const & p)
{
- ENSURE_GUI_THREAD (bind (mem_fun (*this, &OptionEditor::parameter_changed), p));
+ ENSURE_GUI_THREAD (*this, &OptionEditor::parameter_changed, p)
for (std::map<std::string, OptionEditorPage*>::iterator i = _pages.begin(); i != _pages.end(); ++i) {
for (std::list<OptionEditorComponent*>::iterator j = i->second->components.begin(); j != i->second->components.end(); ++j) {