aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-12-01 21:26:39 +0000
committerDavid Robillard <d@drobilla.net>2011-12-01 21:26:39 +0000
commite83bd7f83d3eae19a8928bb9530fd678065ea1e9 (patch)
tree65d4c72569f84ac759b38dbdb447495d57cf2e88 /src
parentea44f93c73ce39deb3bc45a9c5ce475974079513 (diff)
downloadmachina-e83bd7f83d3eae19a8928bb9530fd678065ea1e9.tar.gz
machina-e83bd7f83d3eae19a8928bb9530fd678065ea1e9.tar.bz2
machina-e83bd7f83d3eae19a8928bb9530fd678065ea1e9.zip
Wrapper for signals.
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@3731 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/gui/MachinaCanvas.cpp2
-rw-r--r--src/gui/NodeView.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/MachinaCanvas.cpp b/src/gui/MachinaCanvas.cpp
index a11e40a..b0ea6b4 100644
--- a/src/gui/MachinaCanvas.cpp
+++ b/src/gui/MachinaCanvas.cpp
@@ -110,7 +110,7 @@ MachinaCanvas::on_new_object(SharedPtr<Client::ClientObject> object)
//if ( ! node->enter_action() && ! node->exit_action() )
// view->set_base_color(0x101010FF);
- view->signal_clicked().connect(
+ view->signal_click().connect(
sigc::bind<0>(sigc::mem_fun(this, &MachinaCanvas::node_clicked),
WeakPtr<NodeView>(view)));
diff --git a/src/gui/NodeView.cpp b/src/gui/NodeView.cpp
index e10e3b9..4e27594 100644
--- a/src/gui/NodeView.cpp
+++ b/src/gui/NodeView.cpp
@@ -40,7 +40,7 @@ NodeView::NodeView(Gtk::Window* window,
, _default_border_color(_border_color)
, _old_color(_color)
{
- _signal_clicked.connect(
+ signal_click().connect(
sigc::mem_fun(this, &NodeView::on_click));
node->signal_property.connect(