summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-12-03 13:38:53 +0000
committerCarl Hetherington <carl@carlh.net>2011-12-03 13:38:53 +0000
commitaecf0e4ae8c682f1f98dba8ddb5a7325f69b94d2 (patch)
treeec26d67eda933b1b095fcdb66128970e47ccb200 /gtk2_ardour
parentf817155f20740745de3baee93a9818993b4509ba (diff)
Add some missing initialisers; remove pointless _model_name
/ _custom_device_mode initialisers. git-svn-id: svn://localhost/ardour2/branches/3.0@10881 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/midi_region_view.cc17
1 files changed, 9 insertions, 8 deletions
diff --git a/gtk2_ardour/midi_region_view.cc b/gtk2_ardour/midi_region_view.cc
index 998330d8bb..51e96e34b2 100644
--- a/gtk2_ardour/midi_region_view.cc
+++ b/gtk2_ardour/midi_region_view.cc
@@ -93,8 +93,6 @@ MidiRegionView::MidiRegionView (ArdourCanvas::Group *parent, RouteTimeAxisView &
, _last_channel_selection(0xFFFF)
, _current_range_min(0)
, _current_range_max(0)
- , _model_name(string())
- , _custom_device_mode(string())
, _active_notes(0)
, _note_group(new ArdourCanvas::Group(*group))
, _note_diff_command (0)
@@ -130,8 +128,8 @@ MidiRegionView::MidiRegionView (ArdourCanvas::Group *parent, RouteTimeAxisView &
: RegionView (parent, tv, r, spu, basic_color, false, visibility)
, _force_channel(-1)
, _last_channel_selection(0xFFFF)
- , _model_name(string())
- , _custom_device_mode(string())
+ , _current_range_min(0)
+ , _current_range_max(0)
, _active_notes(0)
, _note_group(new ArdourCanvas::Group(*parent))
, _note_diff_command (0)
@@ -150,6 +148,7 @@ MidiRegionView::MidiRegionView (ArdourCanvas::Group *parent, RouteTimeAxisView &
, _no_sound_notes (false)
, _last_event_x (0)
, _last_event_y (0)
+ , _pre_enter_cursor (0)
{
_note_group->raise_to_top();
PublicEditor::DropDownKeys.connect (sigc::mem_fun (*this, &MidiRegionView::drop_down_keys));
@@ -174,8 +173,8 @@ MidiRegionView::MidiRegionView (const MidiRegionView& other)
, RegionView (other)
, _force_channel(-1)
, _last_channel_selection(0xFFFF)
- , _model_name(string())
- , _custom_device_mode(string())
+ , _current_range_min(0)
+ , _current_range_max(0)
, _active_notes(0)
, _note_group(new ArdourCanvas::Group(*get_canvas_group()))
, _note_diff_command (0)
@@ -194,6 +193,7 @@ MidiRegionView::MidiRegionView (const MidiRegionView& other)
, _no_sound_notes (false)
, _last_event_x (0)
, _last_event_y (0)
+ , _pre_enter_cursor (0)
{
Gdk::Color c;
int r,g,b,a;
@@ -208,8 +208,8 @@ MidiRegionView::MidiRegionView (const MidiRegionView& other, boost::shared_ptr<M
: RegionView (other, boost::shared_ptr<Region> (region))
, _force_channel(-1)
, _last_channel_selection(0xFFFF)
- , _model_name(string())
- , _custom_device_mode(string())
+ , _current_range_min(0)
+ , _current_range_max(0)
, _active_notes(0)
, _note_group(new ArdourCanvas::Group(*get_canvas_group()))
, _note_diff_command (0)
@@ -228,6 +228,7 @@ MidiRegionView::MidiRegionView (const MidiRegionView& other, boost::shared_ptr<M
, _no_sound_notes (false)
, _last_event_x (0)
, _last_event_y (0)
+ , _pre_enter_cursor (0)
{
Gdk::Color c;
int r,g,b,a;