diff options
author | Robin Gareus <robin@gareus.org> | 2017-04-01 16:40:07 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-04-01 16:40:07 +0200 |
commit | 3e43585fa133d052b27aba10d1fe89dea3061904 (patch) | |
tree | 5f4237264193cf8975a150e0793349f7ff5b37dd /gtk2_ardour/ardour_dialog.h | |
parent | dae7e8dbd312d2d47b8eb4ffb1025555d537711c (diff) |
Pop splash on dialog response - not d'tor.
A Dialog Window may not be tightly scoped, and may be around
for a while (query settings from the dialog instance). The destructor
may only be called later.
Diffstat (limited to 'gtk2_ardour/ardour_dialog.h')
-rw-r--r-- | gtk2_ardour/ardour_dialog.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/ardour_dialog.h b/gtk2_ardour/ardour_dialog.h index 3c1b869e73..c65eaa5a09 100644 --- a/gtk2_ardour/ardour_dialog.h +++ b/gtk2_ardour/ardour_dialog.h @@ -47,11 +47,13 @@ public: bool on_delete_event (GdkEventAny*); void on_unmap (); void on_show (); + void on_response (int); private: WM::ProxyTemporary* proxy; bool _splash_pushed; void init (); + void pop_splash (); static sigc::signal<void> CloseAllDialogs; }; |