Fix up tests now that operator= on ScopedConnection disconnects the old connection...
[ardour.git] / libs / gtkmm2ext / tearoff.cc
index 0f214dda955b1cd6bc32471a5dfe3d9a24829642..f0bacb593b5e79ea09ad28b9140ffe497300f88d 100644 (file)
@@ -54,7 +54,7 @@ TearOff::TearOff (Widget& c, bool allow_resize)
        tearoff_event_box.set_events (BUTTON_PRESS_MASK|BUTTON_RELEASE_MASK);
        tearoff_event_box.signal_button_release_event().connect (mem_fun (*this, &TearOff::tearoff_click));
 
-        tearoff_event_box.set_tooltip_text (_("Click to to tear this into its own window"));
+       tearoff_event_box.set_tooltip_text (_("Click to tear this into its own window"));
         
        close_event_box.add (close_arrow);
        close_event_box.set_events (BUTTON_PRESS_MASK|BUTTON_RELEASE_MASK);
@@ -86,10 +86,10 @@ TearOff::TearOff (Widget& c, bool allow_resize)
 
        VBox* box2;
        box2 = manage (new VBox);
-       box2->pack_start (tearoff_event_box, false, false, 2);
+       box2->pack_start (tearoff_event_box, false, false);
 
        pack_start (contents);
-       pack_start (*box2, false, false, 2);
+       pack_start (*box2, false, false);
 }
 
 TearOff::~TearOff ()