fix crash when copy'ing latent plugins
[ardour.git] / gtk2_ardour / mono_panner.h
index b79038bab726c02a188e49e225c89b8cc26e47d0..c5843f756c5aadb541552181324db485c52b1a00 100644 (file)
@@ -58,9 +58,10 @@ class MonoPanner : public PannerInterface
   private:
        PannerEditor* editor ();
        boost::shared_ptr<ARDOUR::PannerShell> _panner_shell;
-       
+
         boost::shared_ptr<PBD::Controllable> position_control;
-        PBD::ScopedConnectionList connections;
+        PBD::ScopedConnectionList panvalue_connections;
+        PBD::ScopedConnectionList panshell_connections;
         int drag_start_x;
         int last_drag_x;
         double accumulated_delta;
@@ -89,6 +90,7 @@ class MonoPanner : public PannerInterface
         static bool have_colors;
        void color_handler ();
        void bypass_handler ();
+       void pannable_handler ();
 };
 
 #endif /* __gtk_ardour_mono_panner_h__ */