From a8afe7faab10609ab67d7cd9d11059ea48f3b3bd Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 20 Jan 2017 11:43:42 +0100 Subject: [PATCH] Remove cruft --- gtk2_ardour/editor.cc | 12 ------------ gtk2_ardour/editor.h | 2 -- 2 files changed, 14 deletions(-) diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index c0016c0162..880963956f 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -5918,18 +5918,6 @@ Editor::update_region_layering_order_editor () void Editor::setup_fade_images () { - _fade_in_images[FadeLinear] = new Gtk::Image (get_icon_path (X_("fadein-linear"))); - _fade_in_images[FadeSymmetric] = new Gtk::Image (get_icon_path (X_("fadein-symmetric"))); - _fade_in_images[FadeFast] = new Gtk::Image (get_icon_path (X_("fadein-fast-cut"))); - _fade_in_images[FadeSlow] = new Gtk::Image (get_icon_path (X_("fadein-slow-cut"))); - _fade_in_images[FadeConstantPower] = new Gtk::Image (get_icon_path (X_("fadein-constant-power"))); - - _fade_out_images[FadeLinear] = new Gtk::Image (get_icon_path (X_("fadeout-linear"))); - _fade_out_images[FadeSymmetric] = new Gtk::Image (get_icon_path (X_("fadeout-symmetric"))); - _fade_out_images[FadeFast] = new Gtk::Image (get_icon_path (X_("fadeout-fast-cut"))); - _fade_out_images[FadeSlow] = new Gtk::Image (get_icon_path (X_("fadeout-slow-cut"))); - _fade_out_images[FadeConstantPower] = new Gtk::Image (get_icon_path (X_("fadeout-constant-power"))); - _xfade_in_images[FadeLinear] = new Gtk::Image (get_icon_path (X_("fadein-linear"))); _xfade_in_images[FadeSymmetric] = new Gtk::Image (get_icon_path (X_("fadein-symmetric"))); _xfade_in_images[FadeFast] = new Gtk::Image (get_icon_path (X_("fadein-fast-cut"))); diff --git a/gtk2_ardour/editor.h b/gtk2_ardour/editor.h index 0106f34382..2d7262ad6e 100644 --- a/gtk2_ardour/editor.h +++ b/gtk2_ardour/editor.h @@ -2221,8 +2221,6 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD bool _region_selection_change_updates_region_list; void setup_fade_images (); - std::map _fade_in_images; - std::map _fade_out_images; std::map _xfade_in_images; std::map _xfade_out_images; -- 2.30.2