diff options
Diffstat (limited to 'widgets/misc/e-map.c')
-rw-r--r-- | widgets/misc/e-map.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/widgets/misc/e-map.c b/widgets/misc/e-map.c index 62e3571984..9167e85a86 100644 --- a/widgets/misc/e-map.c +++ b/widgets/misc/e-map.c @@ -33,6 +33,9 @@ #include "e-map.h" +/* backward-compatibility cruft */ +#include "e-util/gtk-compat.h" + /* Scroll step increment */ #define SCROLL_STEP_SIZE 32 @@ -473,25 +476,25 @@ e_map_key_press (GtkWidget *widget, GdkEventKey *event) switch (event->keyval) { - case GDK_Up: + case GDK_KEY_Up: do_scroll = TRUE; xofs = 0; yofs = -SCROLL_STEP_SIZE; break; - case GDK_Down: + case GDK_KEY_Down: do_scroll = TRUE; xofs = 0; yofs = SCROLL_STEP_SIZE; break; - case GDK_Left: + case GDK_KEY_Left: do_scroll = TRUE; xofs = -SCROLL_STEP_SIZE; yofs = 0; break; - case GDK_Right: + case GDK_KEY_Right: do_scroll = TRUE; xofs = SCROLL_STEP_SIZE; yofs = 0; |