It was testing for GDK_KEY_Return etc which I think are only available on newer 
GTK versions.
I changed them to GDK_Return etc (removing KEY) which is the format on older 
versions
(though they should still work on newer versions as well).

I pushed a change to Savannah so if you try again it should be OK.



----- Original Message -----
From: "[email protected]" <[email protected]>
To: [email protected]
Cc: 
Sent: Saturday, 24 September 2011, 13:22
Subject: [XBoard-devel] Compilability GTK-Xt branch

I get errors compiling the gtk-xt branch on Ubuntu 10.04:

  CC     xoptions.o
xoptions.c: In function ‘keypressicsCB’:
xoptions.c:1734: error: ‘GDK_KEY_Return’ undeclared (first use in this
function)
xoptions.c:1734: error: (Each undeclared identifier is reported only once
xoptions.c:1734: error: for each function it appears in.)
xoptions.c:1738: error: ‘GDK_KEY_Up’ undeclared (first use in this function)
xoptions.c:1748: error: ‘GDK_KEY_Down’ undeclared (first use in this
function)
make[2]: *** [xoptions.o] Error 1

Reply via email to