aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2017-11-15 09:54:03 +0100
committerThomas White <taw@physics.org>2017-11-15 09:54:03 +0100
commit41a8fa9819010fe8ddeb66676fee717f5226c7b8 (patch)
tree53e3725d042b2dd679ace456e5a696251e234de0
parent4aec51c0b83598e05e802aee1da7068751072d8c (diff)
Use GDK_a/b instead of GDK_KEY_a/b
Some people using old libraries out there.
-rw-r--r--src/dw-hdfsee.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dw-hdfsee.c b/src/dw-hdfsee.c
index 6687c304..c943cfdf 100644
--- a/src/dw-hdfsee.c
+++ b/src/dw-hdfsee.c
@@ -2836,12 +2836,12 @@ static gint displaywindow_keypress(GtkWidget *widget, GdkEventKey *event,
switch ( event->keyval ) {
- case GDK_KEY_a:
+ case GDK_a:
change_ring(dw, +1.0);
redraw_window(dw);
break;
- case GDK_KEY_b:
+ case GDK_b:
change_ring(dw, -1.0);
redraw_window(dw);
break;