summaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-04-28 00:40:20 +0000
committerDavid Robillard <d@drobilla.net>2011-04-28 00:40:20 +0000
commitaa000d3559d9971c9f7fe4c9b1305d217fd86215 (patch)
tree010418fcc2871cb7cf24d1971d07ddcb75d49e5d /src/client
parent2d02bcb1ab8e5e06aa1372c06a39ef3151f2cb2b (diff)
downloadingen-aa000d3559d9971c9f7fe4c9b1305d217fd86215.tar.gz
ingen-aa000d3559d9971c9f7fe4c9b1305d217fd86215.tar.bz2
ingen-aa000d3559d9971c9f7fe4c9b1305d217fd86215.zip
Update for new Suil API.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3204 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client')
-rw-r--r--src/client/PluginUI.cpp4
-rw-r--r--src/client/PluginUI.hpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/client/PluginUI.cpp b/src/client/PluginUI.cpp
index c5f184d5..2df77156 100644
--- a/src/client/PluginUI.cpp
+++ b/src/client/PluginUI.cpp
@@ -34,7 +34,7 @@ using namespace Raul;
namespace Ingen {
namespace Client {
-SuilHost PluginUI::ui_host = NULL;
+SuilHost* PluginUI::ui_host = NULL;
static void
lv2_ui_write(SuilController controller,
@@ -150,7 +150,7 @@ PluginUI::create(Ingen::Shared::World* world,
SharedPtr<PluginUI> ret(new PluginUI(world, node));
ret->_features = world->lv2_features()->lv2_features(world, node.get());
- SuilInstance instance = suil_instance_new(
+ SuilInstance* instance = suil_instance_new(
PluginUI::ui_host,
ret.get(),
slv2_value_as_uri(gtk_ui),
diff --git a/src/client/PluginUI.hpp b/src/client/PluginUI.hpp
index f9dc0bbb..d2e13d9d 100644
--- a/src/client/PluginUI.hpp
+++ b/src/client/PluginUI.hpp
@@ -64,9 +64,9 @@ private:
Ingen::Shared::World* _world;
SharedPtr<NodeModel> _node;
- SuilInstance _instance;
+ SuilInstance* _instance;
- static SuilHost ui_host;
+ static SuilHost* ui_host;
SharedPtr<Shared::LV2Features::FeatureArray> _features;
};