summaryrefslogtreecommitdiff
path: root/gtk/gtkprivate.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 /gtk/gtkprivate.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 'gtk/gtkprivate.c')
-rw-r--r--gtk/gtkprivate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkprivate.c b/gtk/gtkprivate.c
index 02448d7f92..52240f61f9 100644
--- a/gtk/gtkprivate.c
+++ b/gtk/gtkprivate.c
@@ -196,9 +196,9 @@ _gtk_get_primary_accel_mod (void)
{
GdkDisplay *display = gdk_display_get_default ();
- primary = gdk_keymap_get_modifier_mask (gdk_keymap_get_for_display (display),
+ primary = gdk_keymap_get_modifier_mask (gdk_display_get_keymap (display),
GDK_MODIFIER_INTENT_PRIMARY_ACCELERATOR);
- primary = _gtk_replace_virtual_modifiers (gdk_keymap_get_for_display (display),
+ primary = _gtk_replace_virtual_modifiers (gdk_display_get_keymap (display),
primary);
}