From: H.G.Muller Date: Sat, 27 Feb 2016 19:37:09 +0000 (+0100) Subject: Fix bug #45774 (GTK compile bug with ENABLE_NLS) X-Git-Url: http://winboard.nl/cgi-bin?p=xboard.git;a=commitdiff_plain;h=598822de26022d152fea6c8e883f495b41f7236a Fix bug #45774 (GTK compile bug with ENABLE_NLS) The declaration of an XFontSet function was not protected by --- diff --git a/gtk/xboard.c b/gtk/xboard.c index 072b33d..c05d5ab 100644 --- a/gtk/xboard.c +++ b/gtk/xboard.c @@ -212,11 +212,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));