summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_dialog.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-11-18 21:56:01 +0000
committerDavid Robillard <d@drobilla.net>2011-11-18 21:56:01 +0000
commit5770f26bc9aea867d8fcd62c38ccef70291034aa (patch)
tree6b06f8711b1fd28b7e8c1059cb62ca13cf0eea1a /gtk2_ardour/ardour_dialog.cc
parentcd4e803f60ef122b8b643478d43a7f1a9c46ae43 (diff)
Add ArdourWindow class for non-dialog windows.
Make IOSelector an ArdourWindow. It's debatable whether this one should actually be a window, cancel buttons might actually be useful on the IO selector. git-svn-id: svn://localhost/ardour2/branches/3.0@10691 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/ardour_dialog.cc')
-rw-r--r--gtk2_ardour/ardour_dialog.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/gtk2_ardour/ardour_dialog.cc b/gtk2_ardour/ardour_dialog.cc
index 278433c7ef..b8c755de10 100644
--- a/gtk2_ardour/ardour_dialog.cc
+++ b/gtk2_ardour/ardour_dialog.cc
@@ -24,10 +24,7 @@
#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;
@@ -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));
}