From 5770f26bc9aea867d8fcd62c38ccef70291034aa Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 18 Nov 2011 21:56:01 +0000 Subject: 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 --- gtk2_ardour/ardour_dialog.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'gtk2_ardour/ardour_dialog.cc') 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)); } -- cgit v1.2.3