Fix thinko causing possible memory corruption.
[ardour.git] / gtk2_ardour / ardour_dialog.h
index bd74afc47d21a6e013834b69a0ec5e18c4a20e96..4f53662c235aebcfa4e7226661d5abf4d18aa8c9 100644 (file)
 #include <gtkmm/window.h>
 #include <gtkmm/dialog.h>
 
-#include "ardour/ardour.h"
 #include "ardour/session_handle.h"
 
-namespace ARDOUR {
-       class Session;
-}
-
 /*
  * This virtual parent class is so that each dialog box uses the
  * same mechanism to declare its closing. It shares a common
@@ -43,9 +38,6 @@ class ArdourDialog : public Gtk::Dialog, public ARDOUR::SessionHandlePtr
        ArdourDialog (Gtk::Window& parent, std::string title, bool modal = false, bool use_separator = false);
        ~ArdourDialog();
 
-       static int close_all_current_dialogs (int response);
-
-       bool on_key_press_event (GdkEventKey *);
        bool on_enter_notify_event (GdkEventCrossing*);
        bool on_leave_notify_event (GdkEventCrossing*);
        void on_unmap ();