remove method and inline its contents. Nothing gained by wrapping this up
[ardour.git] / gtk2_ardour / editor_drag.cc
index 5310eeed337ed104e63abe3a2ed50e51b58927d6..0b6b1e34b328b90d82af22acd1256730e7457060 100644 (file)
@@ -1428,8 +1428,7 @@ RegionMoveDrag::finished (GdkEvent* ev, bool movement_occurred)
 RouteTimeAxisView*
 RegionMoveDrag::create_destination_time_axis (boost::shared_ptr<Region> region, TimeAxisView* original)
 {
-       if (!AudioEngine::instance()->running ()) {
-               error << _("Not connected to audio engine - Could not create new track after region placed in the drop zone") << endmsg;
+       if (!ARDOUR_UI_UTILS::engine_is_running ()) {
                return NULL;
        }