fix incorrect accumulation of export video options each time the dialog is used
[ardour.git] / gtk2_ardour / window_manager.h
index a5a9714cc8c376cc5fd116f31496544b7a1d90c0..93d71add928244f63cfe691a3d79dc6e3375e54d 100644 (file)
@@ -97,7 +97,6 @@ class ProxyTemporary: public ProxyBase
 {
 public:
        ProxyTemporary (const std::string& name, Gtk::Window* win);
-       ~ProxyTemporary();
 
        Gtk::Window* get (bool create = false) {
                (void) create;
@@ -109,6 +108,8 @@ public:
        }
 
        ARDOUR::SessionHandlePtr* session_handle ();
+
+       void explicit_delete () { _window = 0 ; delete this; }
 };
 
 template<typename T>