summaryrefslogtreecommitdiff
path: root/pluginvst.h
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2017-05-10 18:16:47 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2017-05-10 18:16:47 +0200
commit36894382ff965c3751fdedb18b452d1329d3a82d (patch)
tree3793f929b2cbecb2d0b93dc84033f9d549782b0d /pluginvst.h
parentd93c0bbfbeb938f29b47fd849e5165106f3e80c5 (diff)
Make createWindow return the window handle. Assign *widget of lv2 init.
Diffstat (limited to 'pluginvst.h')
-rw-r--r--pluginvst.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pluginvst.h b/pluginvst.h
index ca140d1..63bdefe 100644
--- a/pluginvst.h
+++ b/pluginvst.h
@@ -153,7 +153,7 @@ public:
}
//! Create new window.
- virtual void createWindow(void *parent) override {}
+ virtual void* createWindow(void *parent) override { return nullptr; }
//! Destroy window.
virtual void onDestroyWindow() override {}