changeset 107873:b88763a1166b

xlwmenu.c (facename_changed): Put function in #ifdef HAVE_XFT.
author YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
date Fri, 16 Apr 2010 10:08:29 +0900
parents 9882f2fb5dab
children b97c55098dcc
files lwlib/ChangeLog lwlib/xlwmenu.c
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lwlib/ChangeLog	Thu Apr 15 21:00:45 2010 -0400
+++ b/lwlib/ChangeLog	Fri Apr 16 10:08:29 2010 +0900
@@ -1,3 +1,7 @@
+2010-04-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+	* xlwmenu.c (facename_changed): Put function in #ifdef HAVE_XFT.
+
 2010-04-11  Dan Nicolaescu  <dann@ics.uci.edu>
 
 	* Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE)
--- a/lwlib/xlwmenu.c	Thu Apr 15 21:00:45 2010 -0400
+++ b/lwlib/xlwmenu.c	Fri Apr 16 10:08:29 2010 +0900
@@ -2135,6 +2135,7 @@
     XtFree ((char *) mw->menu.windows);
 }
 
+#ifdef HAVE_XFT
 static int
 facename_changed (XlwMenuWidget newmw,
                   XlwMenuWidget oldmw)
@@ -2144,6 +2145,7 @@
      we just want to do a redisplay.  */
   return newmw->menu.faceName != oldmw->menu.faceName;
 }
+#endif
 
 static Boolean
 XlwMenuSetValues (current, request, new)