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



commit b80a934a58ba956298cffb698550d2c25c775373
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]