When building with MSVC, allow for the fact that Mixbus and Ardour can be using diffe...
[ardour.git] / libs / gtkmm2ext / dndtreeview.cc
index be53482603d6ce13217faff6bb6048af82d1dc09..4686702074237411a6d9cf0bf6624d86e35a63ff 100644 (file)
@@ -106,6 +106,11 @@ DnDTreeViewBase::on_drag_begin (Glib::RefPtr<Gdk::DragContext> const & context)
        start_object_drag ();
 }
 
+void
+DnDTreeViewBase::on_drag_end (Glib::RefPtr<Gdk::DragContext> const & context) {
+       Gtk::TreeView::on_drag_end (context);
+       end_object_drag ();
+}
 
 void
 DnDTreeViewBase::add_drop_targets (list<TargetEntry>& targets)
@@ -136,5 +141,3 @@ DnDTreeViewBase::on_drag_drop(const Glib::RefPtr<Gdk::DragContext>& context, int
        drag_data.source = 0;
        return TreeView::on_drag_drop (context, x, y, time);
 }
-
-