summaryrefslogtreecommitdiff
path: root/capplets/keybindings/eggaccelerators.c
diff options
context:
space:
mode:
Diffstat (limited to 'capplets/keybindings/eggaccelerators.c')
-rw-r--r--capplets/keybindings/eggaccelerators.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/capplets/keybindings/eggaccelerators.c b/capplets/keybindings/eggaccelerators.c
index 03ffca71..32cbc7b3 100644
--- a/capplets/keybindings/eggaccelerators.c
+++ b/capplets/keybindings/eggaccelerators.c
@@ -607,7 +607,7 @@ egg_keymap_get_modmap (GdkKeymap *keymap)
EggModmap *modmap;
if (keymap == NULL)
- keymap = gdk_keymap_get_default ();
+ keymap = gdk_keymap_get_for_display (gdk_display_get_default ());
/* This is all a hack, much simpler when we can just
* modify GDK directly.