diff options
author | David Robillard <d@drobilla.net> | 2010-11-25 20:37:39 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-11-25 20:37:39 +0000 |
commit | 8b68ed57ec5c075261639435be3290c3ba8177eb (patch) | |
tree | 309cfbdec064a3134678facbfec835aaa46f2cef /gtk2_ardour/ardour_ui2.cc | |
parent | c862d320ffccf739785e4b9aa59d7842e6f50ace (diff) |
Fix some messed up code (spacey tabs).
(There is faar more of this... FIX YOUR EDITORS!)
git-svn-id: svn://localhost/ardour2/branches/3.0@8086 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/ardour_ui2.cc')
-rw-r--r-- | gtk2_ardour/ardour_ui2.cc | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/gtk2_ardour/ardour_ui2.cc b/gtk2_ardour/ardour_ui2.cc index bdc75080fd..ab158ec04a 100644 --- a/gtk2_ardour/ardour_ui2.cc +++ b/gtk2_ardour/ardour_ui2.cc @@ -144,7 +144,7 @@ ARDOUR_UI::setup_tooltips () set_tip (primary_clock, _("Primary Clock")); set_tip (secondary_clock, _("Secondary Clock")); - synchronize_sync_source_and_video_pullup (); + synchronize_sync_source_and_video_pullup (); editor->setup_tooltips (); } @@ -195,17 +195,17 @@ ARDOUR_UI::display_message (const char *prefix, gint prefix_len, RefPtr<TextBuff XMLNode* ARDOUR_UI::tearoff_settings (const char* name) const { - XMLNode* ui_node = Config->extra_xml(X_("UI")); + XMLNode* ui_node = Config->extra_xml(X_("UI")); - if (ui_node) { - XMLNode* tearoff_node = ui_node->child (X_("Tearoffs")); - if (tearoff_node) { - XMLNode* mnode = tearoff_node->child (name); - return mnode; - } - } + if (ui_node) { + XMLNode* tearoff_node = ui_node->child (X_("Tearoffs")); + if (tearoff_node) { + XMLNode* mnode = tearoff_node->child (name); + return mnode; + } + } - return 0; + return 0; } void @@ -470,10 +470,10 @@ ARDOUR_UI::setup_transport () transport_tearoff_hbox.pack_end (*img, false, false, 6); } - XMLNode* tnode = tearoff_settings ("transport"); - if (tnode) { - transport_tearoff->set_state (*tnode); - } + XMLNode* tnode = tearoff_settings ("transport"); + if (tnode) { + transport_tearoff->set_state (*tnode); + } } void @@ -527,20 +527,20 @@ ARDOUR_UI::audition_alert_press (GdkEventButton*) if (_session) { _session->cancel_audition(); } - return true; + return true; } bool ARDOUR_UI::solo_alert_press (GdkEventButton*) { - if (_session) { - if (_session->soloing()) { - _session->set_solo (_session->get_routes(), false); - } else if (_session->listening()) { - _session->set_listen (_session->get_routes(), false); - } - } - return true; + if (_session) { + if (_session->soloing()) { + _session->set_solo (_session->get_routes(), false); + } else if (_session->listening()) { + _session->set_listen (_session->get_routes(), false); + } + } + return true; } void |