app: use more of the new GDK_KEY_foo key names
and move the compat defines from display-enums.h to widgets-enums.h
This commit is contained in:
@ -1005,7 +1005,7 @@ gimp_ui_manager_item_key_press (GtkWidget *widget,
|
||||
* standard GtkMenuShell callback and assign a new shortcut, but
|
||||
* don't assign a shortcut to the help menu entries ...
|
||||
*/
|
||||
if (kevent->keyval != GDK_F1)
|
||||
if (kevent->keyval != GDK_KEY_F1)
|
||||
{
|
||||
if (help_id &&
|
||||
gtk_accelerator_valid (kevent->keyval, 0) &&
|
||||
|
Reference in New Issue
Block a user