summaryrefslogtreecommitdiffstats
path: root/src/gui/NodeMenu.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-05-24 20:52:22 +0000
committerDavid Robillard <d@drobilla.net>2011-05-24 20:52:22 +0000
commitc85f3ab4c7d4c1e793519a400f10fc8499459d80 (patch)
treee5ec7d84a6ea3c437c0fc555d4c7dda96c84c196 /src/gui/NodeMenu.cpp
parenta63ca8cb96f95849c42250500f327e0fa2f2f850 (diff)
downloadingen-c85f3ab4c7d4c1e793519a400f10fc8499459d80.tar.gz
ingen-c85f3ab4c7d4c1e793519a400f10fc8499459d80.tar.bz2
ingen-c85f3ab4c7d4c1e793519a400f10fc8499459d80.zip
Remove use of ingen-config.h in soon-to-be-public headers.
Make Lilv dependency mandatory. Reduce dependency on ingen-config.h. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3316 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/NodeMenu.cpp')
-rw-r--r--src/gui/NodeMenu.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gui/NodeMenu.cpp b/src/gui/NodeMenu.cpp
index 87ad5030..e1d59f8f 100644
--- a/src/gui/NodeMenu.cpp
+++ b/src/gui/NodeMenu.cpp
@@ -16,7 +16,6 @@
*/
#include <gtkmm.h>
-#include "ingen-config.h"
#include "ingen/ServerInterface.hpp"
#include "shared/LV2URIMap.hpp"
#include "client/NodeModel.hpp"
@@ -86,7 +85,6 @@ NodeMenu::init(SharedPtr<const NodeModel> node)
_embed_gui_menuitem->hide();
}
-#ifdef HAVE_LILV
if (plugin && plugin->type() == PluginModel::LV2) {
LilvNode* preset_pred = lilv_new_uri(
plugin->lilv_world(),
@@ -130,7 +128,6 @@ NodeMenu::init(SharedPtr<const NodeModel> node)
lilv_node_free(title_pred);
lilv_node_free(preset_pred);
}
-#endif
if (has_control_inputs())
_randomize_menuitem->show();
@@ -180,7 +177,6 @@ NodeMenu::on_menu_disconnect()
void
NodeMenu::on_preset_activated(const std::string& uri)
{
-#ifdef HAVE_LILV
const NodeModel* const node = (NodeModel*)_object.get();
const PluginModel* const plugin = dynamic_cast<const PluginModel*>(node->plugin());
@@ -220,7 +216,6 @@ NodeMenu::on_preset_activated(const std::string& uri)
lilv_node_free(value_pred);
lilv_node_free(symbol_pred);
lilv_node_free(port_pred);
-#endif
}
bool