[gimp/gtk3-port: 8/224] libgimpwidgets: port to new GDK_KEY_foo key names
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gtk3-port: 8/224] libgimpwidgets: port to new GDK_KEY_foo key names
- Date: Sun, 6 Feb 2011 13:00:50 +0000 (UTC)
commit f28a2656d0d00d73d593b624adb5a4f243752b2b
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]