summaryrefslogtreecommitdiff
path: root/gtk2_ardour/patch_change_dialog.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-06-01 17:00:29 +0000
committerDavid Robillard <d@drobilla.net>2011-06-01 17:00:29 +0000
commited626628b54e67dd9621c08d82a42afaed00c7ac (patch)
treecf621db4c44f07f75a6e6a3fb7f572cd2c3622cd /gtk2_ardour/patch_change_dialog.cc
parenta473d630eb165272992e90f8d854b1d66ec0be63 (diff)
Delete trailing whitespace
git-svn-id: svn://localhost/ardour2/branches/3.0@9656 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/patch_change_dialog.cc')
-rw-r--r--gtk2_ardour/patch_change_dialog.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/gtk2_ardour/patch_change_dialog.cc b/gtk2_ardour/patch_change_dialog.cc
index d2c23e7365..85f34eedbe 100644
--- a/gtk2_ardour/patch_change_dialog.cc
+++ b/gtk2_ardour/patch_change_dialog.cc
@@ -51,26 +51,26 @@ PatchChangeDialog::PatchChangeDialog (
t->attach (*l, 0, 1, r, r + 1);
t->attach (_time, 1, 2, r, r + 1);
++r;
-
+
_time.set_session (session);
_time.set_mode (AudioClock::BBT);
_time.set (_time_converter->to (patch.time ()), true);
-
+
l = manage (new Label (_("Channel")));
l->set_alignment (0, 0.5);
t->attach (*l, 0, 1, r, r + 1);
t->attach (_channel, 1, 2, r, r + 1);
++r;
-
+
_channel.set_value (patch.channel() + 1);
}
-
+
Label* l = manage (new Label (_("Program")));
l->set_alignment (0, 0.5);
t->attach (*l, 0, 1, r, r + 1);
t->attach (_program, 1, 2, r, r + 1);
++r;
-
+
_program.set_value (patch.program () + 1);
l = manage (new Label (_("Bank")));
@@ -78,9 +78,9 @@ PatchChangeDialog::PatchChangeDialog (
t->attach (*l, 0, 1, r, r + 1);
t->attach (_bank, 1, 2, r, r + 1);
++r;
-
+
_bank.set_value (patch.bank() + 1);
-
+
get_vbox()->add (*t);
add_button (Stock::CANCEL, RESPONSE_CANCEL);
@@ -97,7 +97,7 @@ PatchChangeDialog::patch () const
if (_time_converter) {
t = _time_converter->from (_time.current_time ());
}
-
+
return Evoral::PatchChange<Evoral::MusicalTime> (
t,
_channel.get_value_as_int() - 1,