quick checks on empty control lists, to avoid unnecessary work
[ardour.git] / gtk2_ardour / time_info_box.cc
index a26ec50932c2f04e8d2d4e4824e2f243be7c2f7f..eccb4700629cf26814020548c1f1de1a7def9708 100644 (file)
@@ -58,12 +58,6 @@ TimeInfoBox::TimeInfoBox ()
        punch_start = new AudioClock ("punch-start", false, "punch", false, false, false, false);
        punch_end = new AudioClock ("punch-end", false, "punch", false, false, false, false);
 
-       selection_start->set_draw_background (false);
-       selection_end->set_draw_background (false);
-       selection_length->set_draw_background (false);
-       punch_start->set_draw_background (false);
-       punch_end->set_draw_background (false);
-
        selection_title.set_text (_("Selection"));
        punch_title.set_text (_("Punch"));
 
@@ -193,7 +187,7 @@ TimeInfoBox::region_property_change (boost::shared_ptr<ARDOUR::Region> /* r */,
         * RegionView (not Region itself).
         */
 
-       selection_changed ();
+       //selection_changed ();
 }
 
 bool