Fix build with recent gtk3
use new keysyms names https://bugzilla.gnome.org/show_bug.cgi?id=629128
This commit is contained in:
parent
b7212a4e8f
commit
178c8c50a0
@ -61,7 +61,7 @@ CLUTTER_MIN_VERSION=1.2.8
|
|||||||
GOBJECT_INTROSPECTION_MIN_VERSION=0.6.11
|
GOBJECT_INTROSPECTION_MIN_VERSION=0.6.11
|
||||||
GJS_MIN_VERSION=0.7
|
GJS_MIN_VERSION=0.7
|
||||||
MUTTER_MIN_VERSION=2.31.4
|
MUTTER_MIN_VERSION=2.31.4
|
||||||
GTK_MIN_VERSION=2.90.4
|
GTK_MIN_VERSION=2.90.7
|
||||||
GIO_MIN_VERSION=2.25.9
|
GIO_MIN_VERSION=2.25.9
|
||||||
|
|
||||||
# Collect more than 20 libraries for a prize!
|
# Collect more than 20 libraries for a prize!
|
||||||
|
@ -231,31 +231,31 @@ key_is_modifier (guint16 keyval)
|
|||||||
|
|
||||||
switch (keyval)
|
switch (keyval)
|
||||||
{
|
{
|
||||||
case GDK_Shift_L:
|
case GDK_KEY_Shift_L:
|
||||||
case GDK_Shift_R:
|
case GDK_KEY_Shift_R:
|
||||||
case GDK_Control_L:
|
case GDK_KEY_Control_L:
|
||||||
case GDK_Control_R:
|
case GDK_KEY_Control_R:
|
||||||
case GDK_Caps_Lock:
|
case GDK_KEY_Caps_Lock:
|
||||||
case GDK_Shift_Lock:
|
case GDK_KEY_Shift_Lock:
|
||||||
case GDK_Meta_L:
|
case GDK_KEY_Meta_L:
|
||||||
case GDK_Meta_R:
|
case GDK_KEY_Meta_R:
|
||||||
case GDK_Alt_L:
|
case GDK_KEY_Alt_L:
|
||||||
case GDK_Alt_R:
|
case GDK_KEY_Alt_R:
|
||||||
case GDK_Super_L:
|
case GDK_KEY_Super_L:
|
||||||
case GDK_Super_R:
|
case GDK_KEY_Super_R:
|
||||||
case GDK_Hyper_L:
|
case GDK_KEY_Hyper_L:
|
||||||
case GDK_Hyper_R:
|
case GDK_KEY_Hyper_R:
|
||||||
case GDK_ISO_Lock:
|
case GDK_KEY_ISO_Lock:
|
||||||
case GDK_ISO_Level2_Latch:
|
case GDK_KEY_ISO_Level2_Latch:
|
||||||
case GDK_ISO_Level3_Shift:
|
case GDK_KEY_ISO_Level3_Shift:
|
||||||
case GDK_ISO_Level3_Latch:
|
case GDK_KEY_ISO_Level3_Latch:
|
||||||
case GDK_ISO_Level3_Lock:
|
case GDK_KEY_ISO_Level3_Lock:
|
||||||
case GDK_ISO_Level5_Shift:
|
case GDK_KEY_ISO_Level5_Shift:
|
||||||
case GDK_ISO_Level5_Latch:
|
case GDK_KEY_ISO_Level5_Latch:
|
||||||
case GDK_ISO_Level5_Lock:
|
case GDK_KEY_ISO_Level5_Lock:
|
||||||
case GDK_ISO_Group_Shift:
|
case GDK_KEY_ISO_Group_Shift:
|
||||||
case GDK_ISO_Group_Latch:
|
case GDK_KEY_ISO_Group_Latch:
|
||||||
case GDK_ISO_Group_Lock:
|
case GDK_KEY_ISO_Group_Lock:
|
||||||
return TRUE;
|
return TRUE;
|
||||||
default:
|
default:
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
Loading…
Reference in New Issue
Block a user