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



commit 1000e6e0b6c9fc85e702980e863756efb925f2ce
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]