From 981c7950a6f5fc9f22decaee261556d20b641d5c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 13 May 2011 01:22:29 +0000 Subject: Make signals private with accessors, and localise dependency on sigc::signal. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3258 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/PatchWindow.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/gui/PatchWindow.cpp') diff --git a/src/gui/PatchWindow.cpp b/src/gui/PatchWindow.cpp index cd97e3e3..ab8fcfd9 100644 --- a/src/gui/PatchWindow.cpp +++ b/src/gui/PatchWindow.cpp @@ -255,12 +255,12 @@ PatchWindow::set_patch(SharedPtr patch, SharedPtr view) set_title(_patch->path().chop_scheme() + " - Ingen"); - new_port_connection = patch->signal_new_port.connect( - sigc::mem_fun(this, &PatchWindow::patch_port_added)); - removed_port_connection = patch->signal_removed_port.connect( - sigc::mem_fun(this, &PatchWindow::patch_port_removed)); - removed_port_connection = patch->signal_editable.connect( - sigc::mem_fun(this, &PatchWindow::editable_changed)); + new_port_connection = patch->signal_new_port().connect( + sigc::mem_fun(this, &PatchWindow::patch_port_added)); + removed_port_connection = patch->signal_removed_port().connect( + sigc::mem_fun(this, &PatchWindow::patch_port_removed)); + removed_port_connection = patch->signal_editable().connect( + sigc::mem_fun(this, &PatchWindow::editable_changed)); show_all(); -- cgit v1.2.1