changeset 36932:798523f71b16

(xm_set_menu_resources_from_menu_face): Remove #ifndef LESSTIF_VERSION.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 22 Mar 2001 13:33:13 +0000
parents 508fd85ab816
children 01f8906fa0fd
files src/xfaces.c
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfaces.c	Wed Mar 21 20:58:57 2001 +0000
+++ b/src/xfaces.c	Thu Mar 22 13:33:13 2001 +0000
@@ -4429,15 +4429,11 @@
 	  || !UNSPECIFIEDP (LFACE_SLANT (lface))
 	  || !UNSPECIFIEDP (LFACE_HEIGHT (lface))))
     {
-#ifndef LESSTIF_VERSION
-      /* Setting the font leads to an infinite loop somewhere
-	 in LessTif during geometry computation.  */
       XmFontListEntry fe;
       fe = XmFontListEntryCreate ("menu_font", XmFONT_IS_FONT, face->font);
       fl = XmFontListAppendEntry (NULL, fe);
       XtSetArg (av[ac], XmNfontList, fl);
       ++ac;
-#endif
     }
 
   xassert (ac <= sizeof av / sizeof *av);
@@ -4449,6 +4445,7 @@
       XtSetValues (widget, av, ac);
       res.av = av, res.ac = ac;
       XtApplyToWidgets (widget, xm_apply_resources, &res);
+      
       if (fl)
 	XmFontListFree (fl);
     }