Repeat INSENSITIVE colors instead of relying on inheritance
[ardour.git] / libs / canvas / canvas / canvas.h
index 87e580e0465d251b1f071cbea0bdf2acd38e3b9e..b818c7eb4170ae38dee28d2fd13eba8a73d958fd 100644 (file)
@@ -172,6 +172,7 @@ class LIBCANVAS_API GtkCanvas : public Canvas, public Gtk::EventBox
 {
 public:
        GtkCanvas ();
+       ~GtkCanvas () { _in_dtor = true ; }
 
        void request_redraw (Rect const &);
        void request_size (Duple);
@@ -238,6 +239,8 @@ private:
        bool show_tooltip ();
        void hide_tooltip ();
        bool really_start_tooltip_timeout ();
+
+       bool _in_dtor;
 };
 
 /** A GTK::Alignment with a GtkCanvas inside it plus some Gtk::Adjustments for