[gimp/gtk3-port: 8/247] 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/247] libgimpwidgets: port to new GDK_KEY_foo key names
- Date: Sat, 5 Mar 2011 20:32:53 +0000 (UTC)
commit cba88ba45eeb1919d34f086cd1d3c2369c3cba95
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]