no more ProxyTemporary member of ArdourWindow - all such windows should be wrapped in an explicit proxy in ARDOUR_UI
This commit is contained in:
parent
fd23f89b35
commit
ba37a6bd36
|
@ -54,7 +54,7 @@ ArdourWindow::ArdourWindow (Gtk::Window& parent, string title)
|
||||||
|
|
||||||
ArdourWindow::~ArdourWindow ()
|
ArdourWindow::~ArdourWindow ()
|
||||||
{
|
{
|
||||||
WM::Manager::instance().remove (proxy);
|
// WM::Manager::instance().remove (proxy);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
|
@ -141,8 +141,5 @@ ArdourWindow::init ()
|
||||||
}
|
}
|
||||||
|
|
||||||
ARDOUR_UI::CloseAllDialogs.connect (sigc::mem_fun (*this, &ArdourWindow::hide));
|
ARDOUR_UI::CloseAllDialogs.connect (sigc::mem_fun (*this, &ArdourWindow::hide));
|
||||||
|
|
||||||
proxy = new WM::ProxyTemporary (get_title(), this);
|
|
||||||
WM::Manager::instance().register_window (proxy);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -51,7 +51,6 @@ protected:
|
||||||
void on_unmap ();
|
void on_unmap ();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
WM::ProxyTemporary* proxy;
|
|
||||||
void init ();
|
void init ();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user