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:
Michael Natterer
2011-03-29 15:27:25 +02:00
parent 2468f9fd55
commit 7c60bb5181
30 changed files with 188 additions and 179 deletions

View File

@ -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) &&