summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_timefx.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/editor_timefx.cc
parentf872433e8e81ba5a3a9ebffa32c6ddd9e3358f07 (diff)
Fly my pretties!
git-svn-id: svn://localhost/trunk/ardour2@28 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_timefx.cc')
-rw-r--r--gtk2_ardour/editor_timefx.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk2_ardour/editor_timefx.cc b/gtk2_ardour/editor_timefx.cc
index 70cac67d03..39c0b3c5eb 100644
--- a/gtk2_ardour/editor_timefx.cc
+++ b/gtk2_ardour/editor_timefx.cc
@@ -41,7 +41,7 @@
#include "i18n.h"
using namespace ARDOUR;
-using namespace SigC;
+using namespace sigc;
using namespace Gtk;
Editor::TimeStretchDialog::TimeStretchDialog (Editor& e)
@@ -53,7 +53,7 @@ Editor::TimeStretchDialog::TimeStretchDialog (Editor& e)
action_button (_("Stretch/Shrink it"))
{
set_modal (true);
- set_position (GTK_WIN_POS_MOUSE);
+ set_position (Gtk::WIN_POS_MOUSE);
set_title (_("ardour: timestretch"));
set_name (N_("TimeStretchDialog"));
@@ -85,7 +85,7 @@ Editor::TimeStretchDialog::TimeStretchDialog (Editor& e)
antialias_button.set_name (N_("TimeStretchButton"));
progress_bar.set_name (N_("TimeStretchProgress"));
- action_button.clicked.connect (bind (slot (*this, &ArdourDialog::stop), 1));
+ action_button.signal_clicked().connect (bind (slot (*this, &ArdourDialog::stop), 1));
}
gint
@@ -120,7 +120,7 @@ Editor::run_timestretch (AudioRegionSelection& regions, float fraction)
}
current_timestretch->progress_bar.set_percentage (0.0f);
- current_timestretch->first_cancel = current_timestretch->cancel_button.clicked.connect (bind (slot (*current_timestretch, &ArdourDialog::stop), -1));
+ current_timestretch->first_cancel = current_timestretch->cancel_button.signal_clicked().connect (bind (slot (*current_timestretch, &ArdourDialog::stop), -1));
current_timestretch->first_delete = current_timestretch->delete_event.connect (slot (*current_timestretch, &ArdourDialog::wm_close_event));
current_timestretch->run ();
@@ -143,7 +143,7 @@ Editor::run_timestretch (AudioRegionSelection& regions, float fraction)
current_timestretch->first_cancel.disconnect();
current_timestretch->first_delete.disconnect();
- current_timestretch->cancel_button.clicked.connect (slot (current_timestretch, &TimeStretchDialog::cancel_timestretch_in_progress));
+ current_timestretch->cancel_button.signal_clicked().connect (slot (current_timestretch, &TimeStretchDialog::cancel_timestretch_in_progress));
current_timestretch->delete_event.connect (slot (current_timestretch, &TimeStretchDialog::delete_timestretch_in_progress));
if (pthread_create_and_store ("timestretch", &thread, 0, timestretch_thread, current_timestretch)) {
@@ -154,7 +154,7 @@ Editor::run_timestretch (AudioRegionSelection& regions, float fraction)
pthread_detach (thread);
- SigC::Connection c = Main::timeout.connect (slot (current_timestretch, &TimeStretchDialog::update_progress), 100);
+ sigc::connection c = Main::timeout.connect (slot (current_timestretch, &TimeStretchDialog::update_progress), 100);
while (current_timestretch->request.running) {
gtk_main_iteration ();