diff options
Diffstat (limited to 'Source/WebKit2/Shared/gtk/WebEventFactory.cpp')
-rw-r--r-- | Source/WebKit2/Shared/gtk/WebEventFactory.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/WebKit2/Shared/gtk/WebEventFactory.cpp b/Source/WebKit2/Shared/gtk/WebEventFactory.cpp index a9acbb3..d8f8b46 100644 --- a/Source/WebKit2/Shared/gtk/WebEventFactory.cpp +++ b/Source/WebKit2/Shared/gtk/WebEventFactory.cpp @@ -28,6 +28,7 @@ #include "config.h" #include "WebEventFactory.h" +#include "GtkVersioning.h" #include "PlatformKeyboardEvent.h" #include "Scrollbar.h" #include "WindowsKeyboardCodes.h" @@ -41,7 +42,7 @@ namespace WebKit { static inline bool isGdkKeyCodeFromKeyPad(unsigned keyval) { - return keyval >= GDK_KEY_KP_Space && keyval <= GDK_KEY_KP_9; + return keyval >= GDK_KP_Space && keyval <= GDK_KP_9; } static inline WebEvent::Modifiers modifiersForEvent(const GdkEvent* event) |