aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2001-03-13 13:16:10 +0000
committerGerd Moellmann2001-03-13 13:16:10 +0000
commit6a18fcf7d21c09fc410c3afc917a79eb850d44a3 (patch)
treea24ea6c85ffee06cb37c78633358dc2f71126ef2 /src
parent6e7e15f2f1a478e066f559ef13e27421c4854fa6 (diff)
downloademacs-6a18fcf7d21c09fc410c3afc917a79eb850d44a3.tar.gz
emacs-6a18fcf7d21c09fc410c3afc917a79eb850d44a3.zip
(xm_set_menu_resources_from_menu_face): Change
#if 0 to #ifndef LESSTIF_VERSION.
Diffstat (limited to 'src')
-rw-r--r--src/xfaces.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/xfaces.c b/src/xfaces.c
index 79c07804363..e74147c6377 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -4389,11 +4389,10 @@ xm_apply_resources (w, p)
4389 4389
4390 4390
4391/* Set X resources of menu-widget WIDGET on frame F from face `menu'. 4391/* Set X resources of menu-widget WIDGET on frame F from face `menu'.
4392 This is the LessTif/Motif version. As of LessTif 0.88 it has the 4392 This is the LessTif/Motif version.
4393 following problems:
4394 4393
4395 1. Setting the XmNfontList resource leads to an infinite loop 4394 As of 2001-03-13, setting the XmNfontList resource with LessTif
4396 somewhere in LessTif. */ 4395 leads to an infinite loop somewhere in LessTif. */
4397 4396
4398static void 4397static void
4399xm_set_menu_resources_from_menu_face (f, widget) 4398xm_set_menu_resources_from_menu_face (f, widget)
@@ -4430,7 +4429,8 @@ xm_set_menu_resources_from_menu_face (f, widget)
4430 || !UNSPECIFIEDP (LFACE_SLANT (lface)) 4429 || !UNSPECIFIEDP (LFACE_SLANT (lface))
4431 || !UNSPECIFIEDP (LFACE_HEIGHT (lface)))) 4430 || !UNSPECIFIEDP (LFACE_HEIGHT (lface))))
4432 { 4431 {
4433#if 0 /* Setting the font leads to an infinite loop somewhere 4432#ifndef LESSTIF_VERSION
4433 /* Setting the font leads to an infinite loop somewhere
4434 in LessTif during geometry computation. */ 4434 in LessTif during geometry computation. */
4435 XmFontListEntry fe; 4435 XmFontListEntry fe;
4436 fe = XmFontListEntryCreate ("menu_font", XmFONT_IS_FONT, face->font); 4436 fe = XmFontListEntryCreate ("menu_font", XmFONT_IS_FONT, face->font);