From 6f57bb9e4119d74a6cd71302e65a7bafd10c7daa Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 25 Oct 2022 11:02:50 -0600 Subject: [PATCH] remove a series of unused signals from TimeAxisViewItem --- gtk2_ardour/time_axis_view_item.cc | 6 ------ gtk2_ardour/time_axis_view_item.h | 18 ------------------ 2 files changed, 24 deletions(-) diff --git a/gtk2_ardour/time_axis_view_item.cc b/gtk2_ardour/time_axis_view_item.cc index 4913d0f54e..1786ecabf6 100644 --- a/gtk2_ardour/time_axis_view_item.cc +++ b/gtk2_ardour/time_axis_view_item.cc @@ -303,7 +303,6 @@ TimeAxisViewItem::set_position(timepos_t const & pos, void* src, double* delta) } group->set_x_position (new_unit_pos); - PositionChanged (time_position, src); /* EMIT_SIGNAL */ return true; } @@ -347,7 +346,6 @@ TimeAxisViewItem::set_duration (timecnt_t const & dur, void* src) reset_width_dependent_items (end_pixel - first_pixel); - DurationChanged (dur, src); /* EMIT_SIGNAL */ return true; } @@ -368,7 +366,6 @@ void TimeAxisViewItem::set_max_duration(timecnt_t const & dur, void* src) { max_item_duration = dur; - MaxDurationChanged(max_item_duration, src); /* EMIT_SIGNAL */ } /** @return the maximum duration that this item may have */ @@ -388,7 +385,6 @@ void TimeAxisViewItem::set_min_duration(timecnt_t const & dur, void* src) { min_item_duration = dur; - MinDurationChanged(max_item_duration, src); /* EMIT_SIGNAL */ } /** @return the minimum duration that this item may have */ @@ -410,7 +406,6 @@ TimeAxisViewItem::set_position_locked(bool yn, void* src) { position_locked = yn; set_trim_handle_colors(); - PositionLockChanged (position_locked, src); /* EMIT_SIGNAL */ } /** @return true if this item is locked to its current position */ @@ -472,7 +467,6 @@ TimeAxisViewItem::set_item_name(std::string new_name, void* src) if (new_name != item_name) { std::string temp_name = item_name; item_name = new_name; - NameChanged (item_name, temp_name, src); /* EMIT_SIGNAL */ } } diff --git a/gtk2_ardour/time_axis_view_item.h b/gtk2_ardour/time_axis_view_item.h index 14ecb06f2c..aaf891bf71 100644 --- a/gtk2_ardour/time_axis_view_item.h +++ b/gtk2_ardour/time_axis_view_item.h @@ -128,24 +128,6 @@ public: sigc::signal ItemRemoved; - /** Emitted when the name of this item is changed */ - sigc::signal NameChanged; - - /** Emitted when the position of this item changes */ - sigc::signal PositionChanged; - - /** Emitted when the position lock of this item is changed */ - sigc::signal PositionLockChanged; - - /** Emitted when the duration of this item changes */ - sigc::signal DurationChanged; - - /** Emitted when the maximum item duration is changed */ - sigc::signal MaxDurationChanged; - - /** Emitted when the mionimum item duration is changed */ - sigc::signal MinDurationChanged; - enum Visibility { ShowFrame = 0x1, ShowNameHighlight = 0x2,