allow button release events to be processed for region selection ops
[ardour.git] / gtk2_ardour / ardour_dialog.cc
index 278433c7efa1e586e7c09a81e25248ea3370dbeb..c0e17087818cf9d98498a85f4390d66792a2641c 100644 (file)
 
 #include "ardour_dialog.h"
 #include "keyboard.h"
-#include "ardour_ui.h"
 #include "splash.h"
-#include "public_editor.h"
-#include "utils.h"
 
 using namespace std;
 using namespace Gtk;
@@ -81,7 +78,7 @@ ArdourDialog::on_show ()
        Splash* spl = Splash::instance();
 
        if (spl) {
-               spl->pop_back ();
+               spl->pop_back_for (*this);
        }
 
        Dialog::on_show ();
@@ -92,5 +89,7 @@ ArdourDialog::init ()
 {
        set_type_hint(Gdk::WINDOW_TYPE_HINT_DIALOG);
        set_border_width (10);
-       CloseAllDialogs.connect (sigc::bind (sigc::mem_fun (*this, &ArdourDialog::response), RESPONSE_CANCEL));
+       CloseAllDialogs.connect (
+               sigc::bind (sigc::mem_fun (*this, &ArdourDialog::response),
+                           RESPONSE_CANCEL));
 }