From bda3b8060980624577010d57114190ef4118f107 Mon Sep 17 00:00:00 2001 From: whitequark Date: Mon, 20 May 2019 21:41:08 +0000 Subject: [PATCH] GTK: fix last remains of legacy event handling code. --- src/platform/guigtk.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/platform/guigtk.cpp b/src/platform/guigtk.cpp index c239d4a7..b86214b5 100644 --- a/src/platform/guigtk.cpp +++ b/src/platform/guigtk.cpp @@ -583,8 +583,8 @@ protected: return false; } - if(SS.GW.KeyboardEvent(event)) { - return true; + if(_receiver->onKeyboardEvent) { + return _receiver->onKeyboardEvent(event); } return false;