summaryrefslogtreecommitdiffstats
path: root/src/libs/gui/NodeModule.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/NodeModule.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/NodeModule.cpp')
-rw-r--r--src/libs/gui/NodeModule.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libs/gui/NodeModule.cpp b/src/libs/gui/NodeModule.cpp
index b7126dd7..3c319344 100644
--- a/src/libs/gui/NodeModule.cpp
+++ b/src/libs/gui/NodeModule.cpp
@@ -110,6 +110,7 @@ NodeModule::remove_port(SharedPtr<PortModel> port)
void
NodeModule::show_control_window()
{
+#ifdef HAVE_SLV2
if (_node->plugin()->type() == PluginModel::LV2) {
GtkWidget* gui = (GtkWidget*)_node->plugin()->gui();
if (gui) {
@@ -118,6 +119,7 @@ NodeModule::show_control_window()
cerr << "No gui :(\n";
}
}
+#endif
App::instance().window_factory()->present_controls(_node);
}