[gimp/gtk3-port: 14/246] libgimpwidgets: port to GD_KEY_foo key names
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gtk3-port: 14/246] libgimpwidgets: port to GD_KEY_foo key names
- Date: Sun, 27 Feb 2011 15:45:55 +0000 (UTC)
commit f7eb73f14d889d9418fce5777550c13e30b2f48a
Author: Michael Natterer <mitch gimp org>
Date: Fri Oct 15 11:17:36 2010 +0200
libgimpwidgets: port to GD_KEY_foo key names
libgimpwidgets/gimpnumberpairentry.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libgimpwidgets/gimpnumberpairentry.c b/libgimpwidgets/gimpnumberpairentry.c
index c47bba2..f085b96 100644
--- a/libgimpwidgets/gimpnumberpairentry.c
+++ b/libgimpwidgets/gimpnumberpairentry.c
@@ -834,9 +834,9 @@ gimp_number_pair_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;
/* If parsing was done due to widgets focus being lost, we only change
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]