From 598822de26022d152fea6c8e883f495b41f7236a Mon Sep 17 00:00:00 2001 From: H.G.Muller Date: Sat, 27 Feb 2016 20:37:09 +0100 Subject: [PATCH] Fix bug #45774 (GTK compile bug with ENABLE_NLS) The declaration of an XFontSet function was not protected by --- gtk/xboard.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) 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)); -- 1.7.0.4