summaryrefslogtreecommitdiff
path: root/gtk2_ardour/time_axis_view.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-07-25 17:38:59 +0200
committerRobin Gareus <robin@gareus.org>2016-07-25 17:38:59 +0200
commit822810b88fd13d1764b5f686baa8edb3e27e95fc (patch)
treed5b471d92d628079cbf29375d9ad767ef3286880 /gtk2_ardour/time_axis_view.h
parenteec294a97edce69ca71c972867ab708d5dd5625d (diff)
the endless quest to plug memory leaks -- episode 379
Diffstat (limited to 'gtk2_ardour/time_axis_view.h')
-rw-r--r--gtk2_ardour/time_axis_view.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/time_axis_view.h b/gtk2_ardour/time_axis_view.h
index e4e30fdc4f..f33379e4d6 100644
--- a/gtk2_ardour/time_axis_view.h
+++ b/gtk2_ardour/time_axis_view.h
@@ -219,8 +219,6 @@ class TimeAxisView : public virtual AxisView
typedef std::vector<boost::shared_ptr<TimeAxisView> > Children;
Children get_child_list ();
- SelectionRect* get_selection_rect(uint32_t id);
-
static uint32_t preset_height (Height);
protected:
@@ -320,6 +318,8 @@ class TimeAxisView : public virtual AxisView
static uint32_t extra_height;
static int const _max_order;
+ SelectionRect* get_selection_rect(uint32_t id);
+
void compute_heights ();
bool maybe_set_cursor (int y);