summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-04-14 02:58:12 +0000
committerDavid Robillard <d@drobilla.net>2012-04-14 02:58:12 +0000
commit99e701a8247c3e26251b045a93d826decd55e831 (patch)
treedc0806226d606b184f53284712cf25048cdd2e17 /src/gui
parentf74b7279cf959a3b8f943e89db350af432ae78a8 (diff)
downloadingen-99e701a8247c3e26251b045a93d826decd55e831.tar.gz
ingen-99e701a8247c3e26251b045a93d826decd55e831.tar.bz2
ingen-99e701a8247c3e26251b045a93d826decd55e831.zip
Update URIs.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4184 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/App.cpp2
-rw-r--r--src/gui/ControlPanel.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/App.cpp b/src/gui/App.cpp
index 1a9fc45d..38685d5b 100644
--- a/src/gui/App.cpp
+++ b/src/gui/App.cpp
@@ -396,7 +396,7 @@ bool
App::can_control(const Client::PortModel* port) const
{
return port->is_a(uris().lv2_ControlPort)
- || port->is_a(uris().cv_CVPort)
+ || port->is_a(uris().lv2_CVPort)
|| (port->is_a(uris().atom_AtomPort)
&& (port->supports(uris().atom_Float)
|| port->supports(uris().atom_String)));
diff --git a/src/gui/ControlPanel.cpp b/src/gui/ControlPanel.cpp
index 9d437ef1..5cbfd38a 100644
--- a/src/gui/ControlPanel.cpp
+++ b/src/gui/ControlPanel.cpp
@@ -92,7 +92,7 @@ ControlPanel::add_port(SharedPtr<const PortModel> pm)
WidgetFactory::get_widget_derived("toggle_control", tc);
control = tc;
} else if (pm->is_a(_app->uris().lv2_ControlPort)
- || pm->is_a(_app->uris().cv_CVPort)
+ || pm->is_a(_app->uris().lv2_CVPort)
|| pm->supports(_app->uris().atom_Float)) {
SliderControl* sc;
WidgetFactory::get_widget_derived("control_strip", sc);