From 3e43585fa133d052b27aba10d1fe89dea3061904 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 1 Apr 2017 16:40:07 +0200 Subject: 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. --- gtk2_ardour/ardour_dialog.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gtk2_ardour/ardour_dialog.h') 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 CloseAllDialogs; }; -- cgit v1.2.3