From 64dc5427e4f5339a16a018692dd94f476c53cae9 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 11 Dec 2009 23:29:48 +0000 Subject: 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 --- gtk2_ardour/editor_snapshots.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gtk2_ardour/editor_snapshots.cc') diff --git a/gtk2_ardour/editor_snapshots.cc b/gtk2_ardour/editor_snapshots.cc index 92fa6d76d6..0c69bf14fa 100644 --- a/gtk2_ardour/editor_snapshots.cc +++ b/gtk2_ardour/editor_snapshots.cc @@ -48,8 +48,8 @@ EditorSnapshots::EditorSnapshots (Editor* e) _scroller.add (_display); _scroller.set_policy (Gtk::POLICY_NEVER, Gtk::POLICY_AUTOMATIC); - _display.get_selection()->signal_changed().connect (mem_fun(*this, &EditorSnapshots::selection_changed)); - _display.signal_button_press_event().connect (mem_fun (*this, &EditorSnapshots::button_press), false); + _display.get_selection()->signal_changed().connect (sigc::mem_fun(*this, &EditorSnapshots::selection_changed)); + _display.signal_button_press_event().connect (sigc::mem_fun (*this, &EditorSnapshots::button_press), false); } void @@ -121,9 +121,9 @@ EditorSnapshots::popup_context_menu (int button, int32_t time, Glib::ustring sna const bool modification_allowed = (_session->snap_name() != snapshot_name && _session->name() != snapshot_name); - add_item_with_sensitivity (items, MenuElem (_("Remove"), bind (mem_fun (*this, &EditorSnapshots::remove), snapshot_name)), modification_allowed); + add_item_with_sensitivity (items, MenuElem (_("Remove"), sigc::bind (sigc::mem_fun (*this, &EditorSnapshots::remove), snapshot_name)), modification_allowed); - add_item_with_sensitivity (items, MenuElem (_("Rename"), bind (mem_fun (*this, &EditorSnapshots::rename), snapshot_name)), modification_allowed); + add_item_with_sensitivity (items, MenuElem (_("Rename"), sigc::bind (sigc::mem_fun (*this, &EditorSnapshots::rename), snapshot_name)), modification_allowed); _menu.popup (button, time); } -- cgit v1.2.3