summaryrefslogtreecommitdiff
path: root/gdk/x11/gdkdevicemanager-xi2.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdk/x11/gdkdevicemanager-xi2.c')
-rw-r--r--gdk/x11/gdkdevicemanager-xi2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/x11/gdkdevicemanager-xi2.c b/gdk/x11/gdkdevicemanager-xi2.c
index e6908debb1..40e6aaa578 100644
--- a/gdk/x11/gdkdevicemanager-xi2.c
+++ b/gdk/x11/gdkdevicemanager-xi2.c
@@ -1406,7 +1406,7 @@ gdk_x11_device_manager_xi2_translate_event (GdkEventTranslator *translator,
case XI_KeyRelease:
{
XIDeviceEvent *xev = (XIDeviceEvent *) ev;
- GdkKeymap *keymap = gdk_keymap_get_for_display (display);
+ GdkKeymap *keymap = gdk_display_get_keymap (display);
GdkModifierType consumed, state;
GDK_NOTE (EVENTS,