summaryrefslogtreecommitdiffstats
path: root/src/gui/PatchWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/PatchWindow.cpp')
-rw-r--r--src/gui/PatchWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/PatchWindow.cpp b/src/gui/PatchWindow.cpp
index eb388ca5..cd4b4ab7 100644
--- a/src/gui/PatchWindow.cpp
+++ b/src/gui/PatchWindow.cpp
@@ -635,7 +635,7 @@ bool
PatchWindow::on_event(GdkEvent* event)
{
if ((event->type == GDK_KEY_PRESS || event->type == GDK_KEY_RELEASE)
- && _view->canvas()->canvas_event(event)) {
+ && _view->canvas()->on_event(event)) {
return true;
} else {
return Gtk::Window::on_event(event);