summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_drag.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2015-01-24 12:26:58 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2015-01-24 12:26:58 -0500
commit22435bb53d31d15870985aef23630ad20b6973e9 (patch)
tree9e939770db2b1d87940bd911c8c8a360e2a4ca7a /gtk2_ardour/editor_drag.cc
parentb4e32cd94b2bb37b3b61f465d9c90e6b2a208ab4 (diff)
make MouseCursors invalid cursor API be static; use to initialize default cursor value in Drag API; use C API to set canvas cursor
Diffstat (limited to 'gtk2_ardour/editor_drag.cc')
-rw-r--r--gtk2_ardour/editor_drag.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/editor_drag.cc b/gtk2_ardour/editor_drag.cc
index 9d97f132fc..e9c315cf96 100644
--- a/gtk2_ardour/editor_drag.cc
+++ b/gtk2_ardour/editor_drag.cc
@@ -4152,7 +4152,7 @@ SelectionDrag::start_grab (GdkEvent* event, Gdk::Cursor*)
return;
}
- Gdk::Cursor* cursor = _editor->cursors()->invalid_cursor();
+ Gdk::Cursor* cursor = MouseCursors::invalid_cursor();
switch (_operation) {
case CreateSelection:
@@ -4490,7 +4490,7 @@ RangeMarkerBarDrag::start_grab (GdkEvent* event, Gdk::Cursor *)
return;
}
- Gdk::Cursor* cursor = _editor->cursors()->invalid_cursor();
+ Gdk::Cursor* cursor = MouseCursors::invalid_cursor();
if (!_editor->temp_location) {
_editor->temp_location = new Location (*_editor->session());