From 4a1418421c7f13591da549906b5a4c56dc737f2d Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Wed, 10 Nov 2010 15:53:46 +0000 Subject: [PATCH] Allowed compilation with older versions of Gtk+ --- src/surfer.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/surfer.c b/src/surfer.c index c99dea7..c93c829 100644 --- a/src/surfer.c +++ b/src/surfer.c @@ -58,6 +58,12 @@ static char const * _authors[] = /* variables */ +#ifndef GDK_Back +# define GDK_Back 0 +#endif +#ifndef GDK_Forward +# define GDK_Forward 0 +#endif static DesktopAccel _surfer_accel[] = { #ifdef EMBEDDED