summaryrefslogtreecommitdiff
path: root/plugin.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 /plugin.h
parentd93c0bbfbeb938f29b47fd849e5165106f3e80c5 (diff)
Make createWindow return the window handle. Assign *widget of lv2 init.
Diffstat (limited to 'plugin.h')
-rw-r--r--plugin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin.h b/plugin.h
index b7f683f..f541255 100644
--- a/plugin.h
+++ b/plugin.h
@@ -177,7 +177,7 @@ public:
}
//! Create new window.
- virtual void createWindow(void *parent) {}
+ virtual void* createWindow(void *parent) { return nullptr; }
//! Destroy window.
virtual void onDestroyWindow() {}