summaryrefslogtreecommitdiffstats
path: root/src/AlsaDriver.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-06-06 18:05:47 +0000
committerDavid Robillard <d@drobilla.net>2011-06-06 18:05:47 +0000
commit67d2cb50843c73024758d6f73c35bae37070b67b (patch)
treeebeba1505b7a18238f49731ff164d920a6ceb497 /src/AlsaDriver.cpp
parent654322e7d3dbeac6782ad2db1e9893389939b0ba (diff)
downloadpatchage-67d2cb50843c73024758d6f73c35bae37070b67b.tar.gz
patchage-67d2cb50843c73024758d6f73c35bae37070b67b.tar.bz2
patchage-67d2cb50843c73024758d6f73c35bae37070b67b.zip
Use a care pointer reference to containing module rather than boost::weak_ptr.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3364 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/AlsaDriver.cpp')
-rw-r--r--src/AlsaDriver.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/AlsaDriver.cpp b/src/AlsaDriver.cpp
index 56bef22..5ab24bb 100644
--- a/src/AlsaDriver.cpp
+++ b/src/AlsaDriver.cpp
@@ -117,7 +117,7 @@ AlsaDriver::find_or_create_module(
m = boost::shared_ptr<PatchageModule>(new PatchageModule(patchage, client_name, type));
m->load_location();
_app->canvas()->add_module(client_name, m);
- _app->enqueue_resize(m);
+ _app->enqueue_resize(m.get());
}
return m;
}
@@ -294,7 +294,7 @@ AlsaDriver::refresh_ports()
if (!ignore(addr)) {
create_port_view_internal(_app, addr, parent, port);
if (parent)
- _app->enqueue_resize(parent);
+ _app->enqueue_resize(parent.get());
}
}
}