summaryrefslogtreecommitdiff
path: root/gdk/quartz/gdkevents-quartz.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2017-12-15 07:44:58 -0500
committerMatthias Clasen <mclasen@redhat.com>2017-12-15 07:44:58 -0500
commite92c0e85ec28f4a7185706519acd0747fd36bedb (patch)
tree3fa7e913dd090ea339df1f8bc98389b1e6652091 /gdk/quartz/gdkevents-quartz.c
parent1012bbeecf4cbbe819adad149c4b775d64f2a939 (diff)
downloadgtk+-e92c0e85ec28f4a7185706519acd0747fd36bedb.tar.gz
Replace gdk_keymap_get_for_display by gdk_display_get_keymap
Replace all uses of the old function by the new one. No functional change.
Diffstat (limited to 'gdk/quartz/gdkevents-quartz.c')
-rw-r--r--gdk/quartz/gdkevents-quartz.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk/quartz/gdkevents-quartz.c b/gdk/quartz/gdkevents-quartz.c
index 822a0a8606..dfbb1f8144 100644
--- a/gdk/quartz/gdkevents-quartz.c
+++ b/gdk/quartz/gdkevents-quartz.c
@@ -1136,7 +1136,7 @@ fill_key_event (GdkWindow *window,
gdk_event_set_device (event, device_manager->core_keyboard);
gdk_event_set_seat (event, gdk_device_get_seat (device_manager->core_keyboard));
- gdk_keymap_translate_keyboard_state (gdk_keymap_get_for_display (_gdk_display),
+ gdk_keymap_translate_keyboard_state (gdk_display_get_keymap (_gdk_display),
event->key.hardware_keycode,
event->key.state,
event->key.group,
@@ -1190,7 +1190,7 @@ fill_key_event (GdkWindow *window,
* mapped to. Since we only have one virtual modifier in the quartz
* backend, calling the standard function will do.
*/
- gdk_keymap_add_virtual_modifiers (gdk_keymap_get_for_display (_gdk_display),
+ gdk_keymap_add_virtual_modifiers (gdk_display_get_keymap (_gdk_display),
&event->key.state);
event->key.string = NULL;