summaryrefslogtreecommitdiffstats
path: root/src/progs/gtk/ControlPanel.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-06-11 03:17:16 +0000
committerDavid Robillard <d@drobilla.net>2006-06-11 03:17:16 +0000
commit228279d6717e69ffd2d2a886244179635ac27c2b (patch)
treed8a25007daeda686f07aefc8b5fcc9486040c536 /src/progs/gtk/ControlPanel.cpp
parent9a3d8d0604a2f81e3514e8a1a30aaf41aadf73a2 (diff)
downloadingen-228279d6717e69ffd2d2a886244179635ac27c2b.tar.gz
ingen-228279d6717e69ffd2d2a886244179635ac27c2b.tar.bz2
ingen-228279d6717e69ffd2d2a886244179635ac27c2b.zip
Got store working directly through SigClientInterface
git-svn-id: http://svn.drobilla.net/lad/grauph@22 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/progs/gtk/ControlPanel.cpp')
-rw-r--r--src/progs/gtk/ControlPanel.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/progs/gtk/ControlPanel.cpp b/src/progs/gtk/ControlPanel.cpp
index f344e2c3..73520596 100644
--- a/src/progs/gtk/ControlPanel.cpp
+++ b/src/progs/gtk/ControlPanel.cpp
@@ -56,7 +56,7 @@ ControlPanel::init(NodeController* node, size_t poly)
assert(node != NULL);
assert(poly > 0);
- NodeModel* const node_model = node->node_model();
+ const CountedPtr<NodeModel> node_model = node->node_model();
if (poly > 1) {
m_voice_spinbutton->set_range(0, poly - 1);
@@ -91,11 +91,11 @@ ControlPanel::find_port(const Path& path) const
void
ControlPanel::add_port(PortController* port)
{
- assert(port != NULL);
- assert(port->model() != NULL);
+ assert(port);
+ assert(port->model());
assert(port->control_panel() == NULL);
- PortModel* const pm = port->port_model();
+ const CountedPtr<PortModel> pm = port->port_model();
// Already have port, don't add another
if (find_port(pm->path()) != NULL)