summaryrefslogtreecommitdiff
path: root/gtk2_ardour/lv2_plugin_ui.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/lv2_plugin_ui.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/lv2_plugin_ui.cc')
-rw-r--r--gtk2_ardour/lv2_plugin_ui.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk2_ardour/lv2_plugin_ui.cc b/gtk2_ardour/lv2_plugin_ui.cc
index f6718940b3..335c643373 100644
--- a/gtk2_ardour/lv2_plugin_ui.cc
+++ b/gtk2_ardour/lv2_plugin_ui.cc
@@ -107,7 +107,7 @@ LV2PluginUI::start_updating(GdkEventAny*)
if (!_output_ports.empty()) {
_screen_update_connection.disconnect();
_screen_update_connection = ARDOUR_UI::instance()->RapidScreenUpdate.connect
- (mem_fun(*this, &LV2PluginUI::output_update));
+ (sigc::mem_fun(*this, &LV2PluginUI::output_update));
}
return false;
}
@@ -227,7 +227,7 @@ LV2PluginUI::lv2ui_instantiate(const Glib::ustring& title)
}
}
- _lv2->ParameterChanged.connect(mem_fun(*this, &LV2PluginUI::parameter_changed));
+ _lv2->ParameterChanged.connect(sigc::mem_fun(*this, &LV2PluginUI::parameter_changed));
}
LV2PluginUI::~LV2PluginUI ()
@@ -262,9 +262,9 @@ LV2PluginUI::package (Gtk::Window& win)
_win_ptr = &win;
} else {
/* forward configure events to plugin window */
- win.signal_configure_event().connect (mem_fun (*this, &LV2PluginUI::configure_handler));
- win.signal_map_event().connect (mem_fun (*this, &LV2PluginUI::start_updating));
- win.signal_unmap_event().connect (mem_fun (*this, &LV2PluginUI::stop_updating));
+ win.signal_configure_event().connect (sigc::mem_fun (*this, &LV2PluginUI::configure_handler));
+ win.signal_map_event().connect (sigc::mem_fun (*this, &LV2PluginUI::start_updating));
+ win.signal_unmap_event().connect (sigc::mem_fun (*this, &LV2PluginUI::stop_updating));
}
return 0;
}
@@ -301,7 +301,7 @@ LV2PluginUI::on_window_show(const Glib::ustring& title)
LV2_EXTERNAL_UI_SHOW(_external_ui_ptr);
_screen_update_connection.disconnect();
_screen_update_connection = ARDOUR_UI::instance()->RapidScreenUpdate.connect
- (mem_fun(*this, &LV2PluginUI::output_update));
+ (sigc::mem_fun(*this, &LV2PluginUI::output_update));
return false;
}