Remove redundant call (there's no session, nothing to save)
[ardour.git] / gtk2_ardour / visibility_group.h
index 20be7dcf7248cb7d32c6093021eae645ac5b5504..ce1adecdd46d804b7b46613d14eb49e2167bcbc1 100644 (file)
@@ -36,7 +36,7 @@ class VisibilityGroup
 {
 public:
        VisibilityGroup (std::string const &);
-       
+
        void add (
                Gtk::Widget *,
                std::string const &,
@@ -44,7 +44,7 @@ public:
                bool visible = false,
                boost::function<boost::optional<bool> ()> = 0
                );
-       
+
        Gtk::Menu* menu ();
        Gtk::Widget* list_view ();
        bool button_press_event (GdkEventButton *);
@@ -55,7 +55,10 @@ public:
        std::string get_state_value () const;
 
        PBD::Signal0<void> VisibilityChanged;
-       
+
+       static std::string remove_element (std::string const& from, std::string const& element);
+       static std::string add_element (std::string const& from, std::string const& element);
+
 private:
 
        struct Member {