summaryrefslogtreecommitdiffstats
path: root/src/libs/gui/PortPropertiesWindow.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-07-25 18:43:57 +0000
committerDavid Robillard <d@drobilla.net>2007-07-25 18:43:57 +0000
commitac6d9b45093f6d304a4d32271e3636b51ccd5a47 (patch)
treee3352a2d0386304e195c3e44760fbffffa7cdfb5 /src/libs/gui/PortPropertiesWindow.cpp
parent3534ac692580a8242d8dfd917394c2c04f79e12d (diff)
downloadingen-ac6d9b45093f6d304a4d32271e3636b51ccd5a47.tar.gz
ingen-ac6d9b45093f6d304a4d32271e3636b51ccd5a47.tar.bz2
ingen-ac6d9b45093f6d304a4d32271e3636b51ccd5a47.zip
Distcheck fixes.
Fix LV2 plugin building. Hopefully actually link against local libraries for real this time honest. Fix building w/o SLV2. Though why, I don't know ;). git-svn-id: http://svn.drobilla.net/lad/ingen@627 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/gui/PortPropertiesWindow.cpp')
-rw-r--r--src/libs/gui/PortPropertiesWindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libs/gui/PortPropertiesWindow.cpp b/src/libs/gui/PortPropertiesWindow.cpp
index e3afad5b..3ca1b2c3 100644
--- a/src/libs/gui/PortPropertiesWindow.cpp
+++ b/src/libs/gui/PortPropertiesWindow.cpp
@@ -76,6 +76,7 @@ PortPropertiesWindow::init(ControlGroup* control, SharedPtr<PortModel> pm)
const SharedPtr<NodeModel> parent = PtrCast<NodeModel>(pm->parent());
+#ifdef HAVE_SLV2
if (parent && parent->plugin() && parent->plugin()->type() == PluginModel::LV2) {
min = slv2_port_get_minimum_value(
parent->plugin()->slv2_plugin(),
@@ -86,6 +87,7 @@ PortPropertiesWindow::init(ControlGroup* control, SharedPtr<PortModel> pm)
slv2_plugin_get_port_by_symbol(parent->plugin()->slv2_plugin(),
pm->path().name().c_str()));
}
+#endif
if (max <= min)
max = min + 1.0f;