[gimp/gtk3-port: 8/248] libgimpwidgets: port to new GDK_KEY_foo key names



commit 8af747a2cfa634d078b0f665c8c93fcb6d94b41d
Author: Michael Natterer <mitch gimp org>
Date:   Fri Oct 15 10:46:28 2010 +0200

    libgimpwidgets: port to new GDK_KEY_foo key names

 libgimpwidgets/gimpcolorhexentry.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libgimpwidgets/gimpcolorhexentry.c b/libgimpwidgets/gimpcolorhexentry.c
index 746dfcc..e5885d7 100644
--- a/libgimpwidgets/gimpcolorhexentry.c
+++ b/libgimpwidgets/gimpcolorhexentry.c
@@ -231,9 +231,9 @@ gimp_color_hex_entry_events (GtkWidget *widget,
       {
         GdkEventKey *kevent = (GdkEventKey *) event;
 
-        if (kevent->keyval != GDK_Return   &&
-            kevent->keyval != GDK_KP_Enter &&
-            kevent->keyval != GDK_ISO_Enter)
+        if (kevent->keyval != GDK_KEY_Return   &&
+            kevent->keyval != GDK_KEY_KP_Enter &&
+            kevent->keyval != GDK_KEY_ISO_Enter)
           break;
         /*  else fall through  */
       }



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