diff options
author | Taybin Rutkin <taybin@taybin.com> | 2005-09-25 21:19:23 +0000 |
---|---|---|
committer | Taybin Rutkin <taybin@taybin.com> | 2005-09-25 21:19:23 +0000 |
commit | d38e2213d79b1c8952c776a3b60f7709457edc0c (patch) | |
tree | 4d441ade9897b3c4749bfeb53c18f5841bdafbf9 /gtk2_ardour/editor_selection_list.cc | |
parent | e493b2b7c4fbbbfc457f02babf9546289b430177 (diff) |
replaced slot() with mem_fun() and ptr_fun().
git-svn-id: svn://localhost/trunk/ardour2@29 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_selection_list.cc')
-rw-r--r-- | gtk2_ardour/editor_selection_list.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/editor_selection_list.cc b/gtk2_ardour/editor_selection_list.cc index 46a11c75f3..d6681cf5a5 100644 --- a/gtk2_ardour/editor_selection_list.cc +++ b/gtk2_ardour/editor_selection_list.cc @@ -46,7 +46,7 @@ using namespace Gtkmm2ext; void Editor::handle_new_named_selection () { - ARDOUR_UI::instance()->call_slot (slot (*this, &Editor::redisplay_named_selections)); + ARDOUR_UI::instance()->call_slot (mem_fun(*this, &Editor::redisplay_named_selections)); } void @@ -115,7 +115,7 @@ Editor::name_selection () ArdourPrompter p; p.set_prompt (_("name for chunk:")); - p.done.connect (slot (*this, &Editor::named_selection_name_chosen)); + p.done.connect (mem_fun(*this, &Editor::named_selection_name_chosen)); p.change_labels (_("Create chunk"), _("Forget it")); p.show_all (); |