X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=gtk%2Fxboard.c;h=328e08d6ec2b5ee2b6a9e1d8627508114d22b1ab;hb=57bd3f69d6723a8932a6131b7aee7042cfd91ee0;hp=573db11ebfd072b6346cdc1730333921969b44fc;hpb=6ca807f73dc2b01a2e36161775ef880c3b448c0d;p=xboard.git diff --git a/gtk/xboard.c b/gtk/xboard.c index 573db11..328e08d 100644 --- a/gtk/xboard.c +++ b/gtk/xboard.c @@ -62,7 +62,6 @@ #include #include #include -#include #include #if !OMIT_SOCKETS @@ -212,11 +211,13 @@ RETSIGTYPE CmailSigHandler P((int sig)); RETSIGTYPE IntSigHandler P((int sig)); RETSIGTYPE TermSizeSigHandler P((int sig)); char *InsertPxlSize P((char *pattern, int targetPxlSize)); +#ifdef TODO_GTK #if ENABLE_NLS XFontSet CreateFontSet P((char *base_fnt_lst)); #else char *FindFont P((char *pattern, int targetPxlSize)); #endif +#endif void DelayedDrag P((void)); void ICSInputBoxPopUp P((void)); void MoveTypeInProc P((GdkEventKey *eventkey)); @@ -1074,7 +1075,6 @@ main (int argc, char **argv) if(BOARD_WIDTH != 8) { squareSize = (squareSize*8 + BOARD_WIDTH/2)/BOARD_WIDTH; // keep width the same lineGap = (squareSize < 37 ? 1 : squareSize < 59 ? 2 : squareSize < 116 ? 3 : 4); -printf("squareSize=%d lineGap=%d\n",squareSize,lineGap); } defaultLineGap = lineGap;