remove method and inline its contents. Nothing gained by wrapping this up
[ardour.git] / gtk2_ardour / option_editor.h
index d6738889f3dd45a5d8d7618aef5528135c6a1b9e..ca88dbf07b76655b5cc1e68102b260e612901757 100644 (file)
@@ -189,7 +189,7 @@ protected:
 };
 
 /** Just a Gtk Checkbutton, masquerading as an option component */
-class CheckOption : public OptionEditorComponent , public Gtkmm2ext::Activatable
+class CheckOption : public OptionEditorComponent , public Gtkmm2ext::Activatable, public sigc::trackable
 {
 public:
        CheckOption (std::string const &, std::string const &, Glib::RefPtr<Gtk::Action> act );
@@ -203,15 +203,13 @@ public:
 
        Gtk::Widget& tip_widget() { return *_button; }
 
+protected:
        void action_toggled ();
        void action_sensitivity_changed () {}
        void action_visibility_changed () {}
 
-protected:
        virtual void toggled ();
 
-       sigc::slot<bool>       _get; ///< slot to get the configuration variable's value
-       sigc::slot<bool, bool> _set;  ///< slot to set the configuration variable's value
        Gtk::CheckButton*      _button; ///< UI button
        Gtk::Label*            _label; ///< label for button, so we can use markup
 };