From e83bd7f83d3eae19a8928bb9530fd678065ea1e9 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 1 Dec 2011 21:26:39 +0000 Subject: Wrapper for signals. git-svn-id: http://svn.drobilla.net/lad/trunk/machina@3731 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/MachinaCanvas.cpp | 2 +- src/gui/NodeView.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 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(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( -- cgit v1.2.1