removed no-longer-used Editor::track_canvas_motion()

Conflicts:
	gtk2_ardour/editor.h
This commit is contained in:
Paul Davis 2014-06-26 15:04:59 -04:00
parent e99734f07a
commit 2f77f2bc69
13 changed files with 40 additions and 61 deletions

View file

@ -763,17 +763,19 @@ ARDOUR::slider_position_to_gain_with_max (double g, double max_gain)
return slider_position_to_gain (g * max_gain/2.0);
}
bool remove_pattern_from_string(const std::string& in_str, const std::string& pattern, std::string& out_str) {
bool
ARDOUR::remove_pattern_from_string(const std::string& in_str, const std::string& pattern, std::string& out_str)
{
out_str.assign(in_str);
size_t pos = in_str.find(pattern);
if ( pos != std::string::npos ) {
out_str.erase(pos, pattern.length() );
return true;
} else {
return false;
}
out_str.assign(in_str);
size_t pos = in_str.find(pattern);
if ( pos != std::string::npos ) {
out_str.erase(pos, pattern.length() );
return true;
} else {
return false;
}
}
extern "C" {