diff options
author | David Robillard <d@drobilla.net> | 2007-05-03 03:45:29 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-05-03 03:45:29 +0000 |
commit | cf14d321e8f084f742b03e09c086d5ef30297492 (patch) | |
tree | 885c8ef0e7f7fd179c85d4e734a1e8a00c2c306c /src/libs/client/PluginModel.h | |
parent | 40ff85e256ca9094fb75cdcbabd3442339f91ecd (diff) | |
download | ingen-cf14d321e8f084f742b03e09c086d5ef30297492.tar.gz ingen-cf14d321e8f084f742b03e09c086d5ef30297492.tar.bz2 ingen-cf14d321e8f084f742b03e09c086d5ef30297492.zip |
Fixed LV2-less build.
git-svn-id: http://svn.drobilla.net/lad/ingen@492 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/client/PluginModel.h')
-rw-r--r-- | src/libs/client/PluginModel.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libs/client/PluginModel.h b/src/libs/client/PluginModel.h index 20777bd9..16ad8c48 100644 --- a/src/libs/client/PluginModel.h +++ b/src/libs/client/PluginModel.h @@ -48,7 +48,9 @@ public: , _name(name) { set_type_from_uri(type_uri); +#ifdef HAVE_SLV2 _slv2_plugin = slv2_plugins_get_by_uri(_slv2_plugins, uri.c_str()); +#endif } Type type() const { return _type; } |