projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Delete temporary Window Proxy for dialogs
[ardour.git]
/
gtk2_ardour
/
window_manager.h
diff --git
a/gtk2_ardour/window_manager.h
b/gtk2_ardour/window_manager.h
index a5a9714cc8c376cc5fd116f31496544b7a1d90c0..93d71add928244f63cfe691a3d79dc6e3375e54d 100644
(file)
--- a/
gtk2_ardour/window_manager.h
+++ b/
gtk2_ardour/window_manager.h
@@
-97,7
+97,6
@@
class ProxyTemporary: public ProxyBase
{
public:
ProxyTemporary (const std::string& name, Gtk::Window* win);
{
public:
ProxyTemporary (const std::string& name, Gtk::Window* win);
- ~ProxyTemporary();
Gtk::Window* get (bool create = false) {
(void) create;
Gtk::Window* get (bool create = false) {
(void) create;
@@
-109,6
+108,8
@@
public:
}
ARDOUR::SessionHandlePtr* session_handle ();
}
ARDOUR::SessionHandlePtr* session_handle ();
+
+ void explicit_delete () { _window = 0 ; delete this; }
};
template<typename T>
};
template<typename T>