clean up tabbable state maintainance; drop Gtk::Button unintentionally used for close...
[ardour.git] / libs / gtkmm2ext / gtkmm2ext / tabbable.h
index b231a5c7b46ea02e55be5f5998dc0d6fd20ff8c0..252d86421d0a5e602fbdf27e1e337f89bafb8b79 100644 (file)
@@ -87,13 +87,12 @@ class LIBGTKMM2EXT_API Tabbable : public WindowProxy {
        std::string    _tab_title;
        Gtk::HBox      _tab_box;
        Gtk::Label     _tab_label;
-       Gtk::Button    _tab_close_button;
        CairoIcon       tab_close_image;
        bool            tab_requested_by_state;
        
        void show_tab ();
        void hide_tab ();
-       void tab_close_clicked ();
+       bool tab_close_clicked (GdkEventButton*);
        void show_own_window (bool and_pack_it);
        void window_mapped ();
        void window_unmapped ();