diff options
author | Jasmine Hassan <[email protected]> | 2012-12-15 02:28:07 +0200 |
---|---|---|
committer | Jasmine Hassan <[email protected]> | 2012-12-15 02:28:07 +0200 |
commit | 221c4df4581638c818b37dc4f8ca20fd48122d3f (patch) | |
tree | e68ff7f378aed6b0a21a44b8860fc66748cf6847 /plugins/common/msd-keygrab.c | |
parent | 7d37bfdb82681fc8dc27ec80e1df388fe31c0e04 (diff) | |
download | mate-settings-daemon-221c4df4581638c818b37dc4f8ca20fd48122d3f.tar.bz2 mate-settings-daemon-221c4df4581638c818b37dc4f8ca20fd48122d3f.tar.xz |
[plugins] Fix some deprecations (GTK2/GTK3)
a11y-keyboard: gtk_dialog_set_has_separator(), deprecated in GTK+ 2.22
common|mouse: prefix GDK key constants with _KEY (GTK3)
Diffstat (limited to 'plugins/common/msd-keygrab.c')
-rw-r--r-- | plugins/common/msd-keygrab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/common/msd-keygrab.c b/plugins/common/msd-keygrab.c index c096758..722656b 100644 --- a/plugins/common/msd-keygrab.c +++ b/plugins/common/msd-keygrab.c @@ -219,7 +219,7 @@ match_key (Key *key, XEvent *event) group = XkbGroupForCoreState (event->xkey.state); else #endif - group = (event->xkey.state & GDK_Mode_switch) ? 1 : 0; + group = (event->xkey.state & GDK_KEY_Mode_switch) ? 1 : 0; /* Check if we find a keysym that matches our current state */ if (gdk_keymap_translate_keyboard_state (NULL, event->xkey.keycode, |