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_edit_groups.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_edit_groups.cc')
-rw-r--r-- | gtk2_ardour/editor_edit_groups.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/editor_edit_groups.cc b/gtk2_ardour/editor_edit_groups.cc index 660f7313f5..48f1b13c1c 100644 --- a/gtk2_ardour/editor_edit_groups.cc +++ b/gtk2_ardour/editor_edit_groups.cc @@ -59,8 +59,8 @@ Editor::build_edit_group_list_menu () edit_group_list_menu->set_name ("ArdourContextMenu"); MenuList& items = edit_group_list_menu->items(); - items.push_back (MenuElem (_("Show All"), slot (*this, &Editor::select_all_edit_groups))); - items.push_back (MenuElem (_("Hide All"), slot (*this, &Editor::unselect_all_edit_groups))); + items.push_back (MenuElem (_("Show All"), mem_fun(*this, &Editor::select_all_edit_groups))); + items.push_back (MenuElem (_("Hide All"), mem_fun(*this, &Editor::unselect_all_edit_groups))); } void @@ -189,7 +189,7 @@ Editor::add_edit_group (RouteGroup* group) edit_group_list.rows().back().set_data (group); edit_group_list.rows().back().select(); - group->FlagsChanged.connect (bind (slot (*this, &Editor::group_flags_changed), group)); + group->FlagsChanged.connect (bind (mem_fun(*this, &Editor::group_flags_changed), group)); } void |