summaryrefslogtreecommitdiff
path: root/lv2/lv2_gui.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lv2/lv2_gui.cc')
-rw-r--r--lv2/lv2_gui.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lv2/lv2_gui.cc b/lv2/lv2_gui.cc
index 7d9cfbf..7b56c5b 100644
--- a/lv2/lv2_gui.cc
+++ b/lv2/lv2_gui.cc
@@ -190,7 +190,7 @@ static LV2UI_Handle ui_instantiate(const struct _LV2UI_Descriptor * descriptor,
pt->virt.run = ui_run;
pt->virt.show = ui_show;
pt->virt.hide = ui_hide;
- pt->gui = new PluginGUI(pt->instance);
+ pt->gui = new PluginGUI();
pt->gui->setWindowClosedCallback(closeHandler, pt);
*widget = (LV2UI_Widget)pt;