From bb9cc45cd22af67ac275a5e73accbe14fee664d8 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 14 Oct 2009 16:10:01 +0000 Subject: Strip trailing whitespace and fix other whitespace errors (e.g. space/tab mixing). Whitespace changes only. Vimmers, try let c_space_errors = 1 in your .vimrc to highlight this kind of stuff in red. I don't know the emacs equivalent... git-svn-id: svn://localhost/ardour2/branches/3.0@5773 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/audio_region_editor.cc | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'gtk2_ardour/audio_region_editor.cc') diff --git a/gtk2_ardour/audio_region_editor.cc b/gtk2_ardour/audio_region_editor.cc index 73a9f92f1b..07d87cab75 100644 --- a/gtk2_ardour/audio_region_editor.cc +++ b/gtk2_ardour/audio_region_editor.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2001 Paul Davis + Copyright (C) 2001 Paul Davis This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -72,14 +72,14 @@ AudioRegionEditor::AudioRegionEditor (Session& s, boost::shared_ptr ARDOUR_UI::instance()->tooltips().set_tip (audition_button, _("audition this region")); audition_button.unset_flags (Gtk::CAN_FOCUS); - + audition_button.set_events (audition_button.get_events() & ~(Gdk::ENTER_NOTIFY_MASK|Gdk::LEAVE_NOTIFY_MASK)); top_row_button_hbox.set_border_width (5); top_row_button_hbox.set_spacing (5); top_row_button_hbox.set_homogeneous (false); top_row_button_hbox.pack_end (audition_button, false, false); - + top_row_hbox.pack_start (name_hbox, true, true); top_row_hbox.pack_end (top_row_button_hbox, true, true); @@ -93,7 +93,7 @@ AudioRegionEditor::AudioRegionEditor (Session& s, boost::shared_ptr sync_label.set_text (_("SYNC POINT:")); start_label.set_name ("AudioRegionEditorLabel"); start_label.set_text (_("FILE START:")); - + time_table.set_col_spacings (2); time_table.set_row_spacings (5); time_table.set_border_width (5); @@ -149,9 +149,9 @@ AudioRegionEditor::AudioRegionEditor (Session& s, boost::shared_ptr bounds_changed (Change (StartChanged|LengthChanged|PositionChanged|StartChanged|Region::SyncOffsetChanged)); _region->StateChanged.connect (mem_fun(*this, &AudioRegionEditor::region_changed)); - + spin_arrow_grab = false; - + connect_editor_events (); } @@ -171,7 +171,7 @@ AudioRegionEditor::region_changed (Change what_changed) } } -gint +gint AudioRegionEditor::bpressed (GdkEventButton* ev, Gtk::SpinButton* /*but*/, void (AudioRegionEditor::*/*pmf*/)()) { switch (ev->button) { @@ -184,9 +184,9 @@ AudioRegionEditor::bpressed (GdkEventButton* ev, Gtk::SpinButton* /*but*/, void // if ((ev->window == but->gobj()->panel)) { // spin_arrow_grab = true; // (this->*pmf)(); - // } - } - } + // } + } + } break; default: break; @@ -194,7 +194,7 @@ AudioRegionEditor::bpressed (GdkEventButton* ev, Gtk::SpinButton* /*but*/, void return FALSE; } -gint +gint AudioRegionEditor::breleased (GdkEventButton* /*ev*/, Gtk::SpinButton* /*but*/, void (AudioRegionEditor::*pmf)()) { if (spin_arrow_grab) { @@ -240,7 +240,7 @@ AudioRegionEditor::end_clock_changed () _session.begin_reversible_command (_("change region end position")); boost::shared_ptr pl = _region->playlist(); - + if (pl) { XMLNode &before = pl->get_state(); _region->trim_end (end_clock.current_time(), this); @@ -257,9 +257,9 @@ void AudioRegionEditor::length_clock_changed () { nframes_t frames = length_clock.current_time(); - + _session.begin_reversible_command (_("change region length")); - + boost::shared_ptr pl = _region->playlist(); if (pl) { @@ -319,8 +319,8 @@ AudioRegionEditor::bounds_changed (Change what_changed) void AudioRegionEditor::activation () { - -} + +} void AudioRegionEditor::name_entry_changed () -- cgit v1.2.3