Remove redundant call (there's no session, nothing to save)
[ardour.git] / gtk2_ardour / visibility_group.h
index 940b8bcc528b8077a87275da31059276e8e691ce..ce1adecdd46d804b7b46613d14eb49e2167bcbc1 100644 (file)
@@ -36,15 +36,15 @@ class VisibilityGroup
 {
 public:
        VisibilityGroup (std::string const &);
-       
+
        void add (
                Gtk::Widget *,
                std::string const &,
                std::string const &,
-               bool visible = 0,
+               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 {