remove wrongly copy/pasted code
authorRobin Gareus <robin@gareus.org>
Tue, 10 May 2016 18:12:14 +0000 (20:12 +0200)
committerRobin Gareus <robin@gareus.org>
Tue, 10 May 2016 18:54:11 +0000 (20:54 +0200)
gtk2_ardour/processor_box.cc

index 472897daed68b15d7ec5c308dd5a8f04da926c94..641ff9d33e04b3e88ec018f2e336a363a946af7a 100644 (file)
@@ -2666,12 +2666,6 @@ ProcessorBox::maybe_add_processor_pin_mgr (boost::weak_ptr<Processor> w)
                wp->set_state (*ui_xml, 0);
        }
 
-       void* existing_ui = p->get_ui ();
-
-       if (existing_ui) {
-               wp->use_window (*(reinterpret_cast<Gtk::Window*>(existing_ui)));
-       }
-
        p->set_pingmgr_proxy (wp);
        WM::Manager::instance().register_window (wp);
 }