summaryrefslogtreecommitdiff
path: root/gtk2_ardour/new_session_dialog.cc
diff options
context:
space:
mode:
authorTaybin Rutkin <taybin@taybin.com>2005-09-25 20:33:00 +0000
committerTaybin Rutkin <taybin@taybin.com>2005-09-25 20:33:00 +0000
commite493b2b7c4fbbbfc457f02babf9546289b430177 (patch)
tree598b5fa6dc9340c96961e3131cc994480d80ff6a /gtk2_ardour/new_session_dialog.cc
parentf872433e8e81ba5a3a9ebffa32c6ddd9e3358f07 (diff)
Fly my pretties!
git-svn-id: svn://localhost/trunk/ardour2@28 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/new_session_dialog.cc')
-rw-r--r--gtk2_ardour/new_session_dialog.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/gtk2_ardour/new_session_dialog.cc b/gtk2_ardour/new_session_dialog.cc
index 2d3888c731..61b6343bf6 100644
--- a/gtk2_ardour/new_session_dialog.cc
+++ b/gtk2_ardour/new_session_dialog.cc
@@ -26,7 +26,7 @@
#include "prompter.h"
#include "new_session_dialog.h"
-using namespace Gtkmmext;
+using namespace Gtkmm2ext;
using namespace Gtk;
using namespace ARDOUR;
@@ -61,7 +61,7 @@ NewSessionDialog::NewSessionDialog (ARDOUR::AudioEngine& engine, bool startup, s
set_name ("NewSessionDialog");
set_title (_("new session setup"));
set_wmclass (_("ardour_new_session"), "Ardour");
- set_position (GTK_WIN_POS_MOUSE);
+ set_position (Gtk::WIN_POS_MOUSE);
set_keyboard_input (true);
set_policy (false, true, false);
set_modal (true);
@@ -197,8 +197,8 @@ NewSessionDialog::NewSessionDialog (ARDOUR::AudioEngine& engine, bool startup, s
// template_selector.control_made.connect (
// slot (*this, &NewSessionDialog::mix_template_control));
- file_selector.cancel_button.clicked.connect (bind (slot (*this, &ArdourDialog::stop), -1));
- file_selector.op_button.clicked.connect (bind (slot (*this, &ArdourDialog::stop), 0));
+ file_selector.cancel_button.signal_clicked().connect (bind (slot (*this, &ArdourDialog::stop), -1));
+ file_selector.op_button.signal_clicked().connect (bind (slot (*this, &ArdourDialog::stop), 0));
file_selector.Expanded.connect (slot (*this, &NewSessionDialog::file_selector_expansion));
delete_event.connect (slot (*this, &ArdourDialog::wm_close_event));
@@ -277,7 +277,7 @@ NewSessionDialog::mix_template_refiller (CList &clist)
}
void
-NewSessionDialog::mix_template_shift (Gtkmmext::Selector* selector, Gtkmmext::SelectionResult* res)
+NewSessionDialog::mix_template_shift (Gtkmm2ext::Selector* selector, Gtkmm2ext::SelectionResult* res)
{
if (res && res->text){
Session::delete_template(*res->text);
@@ -286,7 +286,7 @@ NewSessionDialog::mix_template_shift (Gtkmmext::Selector* selector, Gtkmmext::Se
}
void
-NewSessionDialog::mix_template_control (Gtkmmext::Selector* selector, Gtkmmext::SelectionResult* res)
+NewSessionDialog::mix_template_control (Gtkmm2ext::Selector* selector, Gtkmm2ext::SelectionResult* res)
{
#if 0
if (res && res->text) {
@@ -300,7 +300,7 @@ NewSessionDialog::mix_template_control (Gtkmmext::Selector* selector, Gtkmmext::
Gtk::Main::run();
- if (prompter.status == Gtkmmext::Prompter::entered) {
+ if (prompter.status == Gtkmm2ext::Prompter::entered) {
string name;
prompter.get_result (name);