summaryrefslogtreecommitdiff
path: root/gtk2_ardour/mixer_strip.cc
diff options
context:
space:
mode:
authorBen Loftis <ben@glw.com>2012-12-07 23:34:55 +0000
committerBen Loftis <ben@glw.com>2012-12-07 23:34:55 +0000
commit474731326113befcebd35bd81638a09996dbe035 (patch)
tree5903fef6a0f7be9708d5a820cea337aec2d06872 /gtk2_ardour/mixer_strip.cc
parent5249f826035c35ae3ea75cbbd2457a0d8a510a79 (diff)
crash fix. looks like narrow mixer strips need more work again
git-svn-id: svn://localhost/ardour2/branches/3.0@13618 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/mixer_strip.cc')
-rw-r--r--gtk2_ardour/mixer_strip.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/mixer_strip.cc b/gtk2_ardour/mixer_strip.cc
index 5c6df5fa1d..e686be80b7 100644
--- a/gtk2_ardour/mixer_strip.cc
+++ b/gtk2_ardour/mixer_strip.cc
@@ -655,9 +655,9 @@ MixerStrip::set_width_enum (Width w, void* owner)
show_sends_button->set_text (_("Snd"));
}
- ((Gtk::Label*)gpm.gain_automation_style_button.get_child())->set_text (
+ gpm.gain_automation_style_button.set_text (
gpm.short_astyle_string(gain_automation->automation_style()));
- ((Gtk::Label*)gpm.gain_automation_state_button.get_child())->set_text (
+ gpm.gain_automation_state_button.set_text (
gpm.short_astate_string(gain_automation->automation_state()));
if (_route->panner()) {