remove needlessly-added method
authorPaul Davis <paul@linuxaudiosystems.com>
Thu, 5 Jun 2014 19:22:26 +0000 (15:22 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Thu, 5 Jun 2014 19:22:26 +0000 (15:22 -0400)
gtk2_ardour/editor_drag.cc
gtk2_ardour/time_axis_view_item.cc
gtk2_ardour/time_axis_view_item.h

index 2cea513c1af241bf0283c5babfe8d71d63a3b88f..228812a2dcd89cdff04f60ffd44e98f5ac6cc474 100644 (file)
@@ -713,6 +713,9 @@ RegionMotionDrag::motion (GdkEvent* event, bool first_move)
                         Duple rv_canvas_offset = rvg->parent()->item_to_canvas (Duple (0,0));
                         Duple dmg_canvas_offset = _editor->_drag_motion_group->item_to_canvas (Duple (0,0));
                         rv->get_canvas_group()->reparent (_editor->_drag_motion_group);
+                       /* move the item so that it continues to appear at the
+                          same location now that its parent has changed.
+                       */
                        rvg->move (rv_canvas_offset - dmg_canvas_offset);
                }
 
index 81d944dcf910582b25d613284a752cf488f3398c..0ae4ec72f200a89e2b997bc1b51f95cbd3422d4b 100644 (file)
@@ -1044,9 +1044,3 @@ TimeAxisViewItem::parameter_changed (string p)
                set_frame_gradient ();
        }
 }
-
-void
-TimeAxisViewItem::visual_raise_to_top ()
-{
-       group->raise_to_top ();
-}
index cd813e17c930957af9f3109bfd4b138f08483c4f..faa6ba5d063574023c7f0a728833f0521a2ab91a 100644 (file)
@@ -76,7 +76,6 @@ class TimeAxisViewItem : public Selectable, public PBD::ScopedConnectionList
        void set_name_text_color ();
 
         uint32_t get_fill_color () const;
-       void visual_raise_to_top ();
 
        ArdourCanvas::Item* get_canvas_frame();
        ArdourCanvas::Group* get_canvas_group();