[gimp/gtk3-port: 8/246] 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/246] libgimpwidgets: port to new GDK_KEY_foo key names
- Date: Sun, 27 Feb 2011 15:45:24 +0000 (UTC)
commit c21f8377cbba6f17a72d975e51c14cb5d56105a1
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]