[gimp/gtk3-port: 16/140] libgimpwidgets: port to GDK_KEY_foo key names



commit 09f646853c59a6890d7ed0e2adca267e1f36a554
Author: Michael Natterer <mitch gimp org>
Date:   Fri Oct 15 11:20:51 2010 +0200

    libgimpwidgets: port to GDK_KEY_foo key names

 libgimpwidgets/gimppickbutton.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgimpwidgets/gimppickbutton.c b/libgimpwidgets/gimppickbutton.c
index 4e6e3b3..81d5b3a 100644
--- a/libgimpwidgets/gimppickbutton.c
+++ b/libgimpwidgets/gimppickbutton.c
@@ -281,7 +281,7 @@ gimp_pick_button_key_press (GtkWidget      *invisible,
                             GdkEventKey    *event,
                             GimpPickButton *button)
 {
-  if (event->keyval == GDK_Escape)
+  if (event->keyval == GDK_KEY_Escape)
     {
       gimp_pick_button_shutdown (button);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]