use ActionManager namespace, rather than ActionMap objects, and remove all per-contex...
[ardour.git] / gtk2_ardour / linux_vst_gui_support.cc
index c51cfa60266c084d531e0b704b91c19d4ca1e388..8dc2e928e4cbd9b0bdde6c79389e3f6d459a0ce6 100644 (file)
@@ -207,7 +207,7 @@ dispatch_x_events (XEvent* event, VSTState* vstfx)
                                if (width != vstfx->width || height != vstfx->height) {
                                        vstfx->width = width;
                                        vstfx->height = height;
-                                       ARDOUR::VSTPlugin* plug = (ARDOUR::VSTPlugin *)(vstfx->plugin->user);
+                                       ARDOUR::VSTPlugin* plug = (ARDOUR::VSTPlugin *)(vstfx->plugin->ptr1);
                                        plug->VSTSizeWindow (); /* EMIT SIGNAL */
                                }