summaryrefslogtreecommitdiff
path: root/plugins/common/eggaccelerators.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-02-20 22:07:44 +0100
committerStefano Karapetsas <[email protected]>2014-02-20 22:07:44 +0100
commitfef4447c314fdcbf72320bed68bd5eff130e471b (patch)
tree8b6ce5f648da100e47c3d9f09a0620c60da432eb /plugins/common/eggaccelerators.c
parent8b2f3e16982d40a1ea391d550b824f267707a1d5 (diff)
parent276d3e0577ca8e42e675ac47d636e466e1653e76 (diff)
downloadmate-settings-daemon-fef4447c314fdcbf72320bed68bd5eff130e471b.tar.bz2
mate-settings-daemon-fef4447c314fdcbf72320bed68bd5eff130e471b.tar.xz
Merge pull request #61 from dnk/master
gtk3: fix media keys
Diffstat (limited to 'plugins/common/eggaccelerators.c')
-rw-r--r--plugins/common/eggaccelerators.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/common/eggaccelerators.c b/plugins/common/eggaccelerators.c
index 171a369..0b32887 100644
--- a/plugins/common/eggaccelerators.c
+++ b/plugins/common/eggaccelerators.c
@@ -387,7 +387,7 @@ egg_accelerator_parse_virtual (const gchar *accelerator,
GdkKeymapKey *keys;
gint n_keys, i, j;
- if (!gdk_keymap_get_entries_for_keyval (NULL, keyval, &keys, &n_keys)) {
+ if (!gdk_keymap_get_entries_for_keyval (gdk_keymap_get_default(), keyval, &keys, &n_keys)) {
bad_keyval = TRUE;
} else {
*accelerator_codes = g_new0 (guint, n_keys + 1);