summaryrefslogtreecommitdiff
path: root/lwlib/xlwmenu.c
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>2010-04-16 10:08:29 +0900
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>2010-04-16 10:08:29 +0900
commitb117f7cc49000f4c2b046c9dfcae172ddc22dd0c (patch)
tree2c03020e086e8a8f84b1876f68557c28da77b048 /lwlib/xlwmenu.c
parent20af301df3b38ffc6ba2c6c98079c91e983d26cf (diff)
downloademacs-b117f7cc49000f4c2b046c9dfcae172ddc22dd0c.tar.gz
xlwmenu.c (facename_changed): Put function in #ifdef HAVE_XFT.
Diffstat (limited to 'lwlib/xlwmenu.c')
-rw-r--r--lwlib/xlwmenu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lwlib/xlwmenu.c b/lwlib/xlwmenu.c
index 3e8259f9a19..389cf8daaaf 100644
--- a/lwlib/xlwmenu.c
+++ b/lwlib/xlwmenu.c
@@ -2135,6 +2135,7 @@ XlwMenuDestroy (w)
XtFree ((char *) mw->menu.windows);
}
+#ifdef HAVE_XFT
static int
facename_changed (XlwMenuWidget newmw,
XlwMenuWidget oldmw)
@@ -2144,6 +2145,7 @@ facename_changed (XlwMenuWidget newmw,
we just want to do a redisplay. */
return newmw->menu.faceName != oldmw->menu.faceName;
}
+#endif
static Boolean
XlwMenuSetValues (current, request, new)