Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
6a18fcf7
Commit
6a18fcf7
authored
Mar 13, 2001
by
Gerd Moellmann
Browse files
(xm_set_menu_resources_from_menu_face): Change
#if 0 to #ifndef LESSTIF_VERSION.
parent
6e7e15f2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
src/xfaces.c
src/xfaces.c
+5
-5
No files found.
src/xfaces.c
View file @
6a18fcf7
...
@@ -4389,11 +4389,10 @@ xm_apply_resources (w, p)
...
@@ -4389,11 +4389,10 @@ xm_apply_resources (w, p)
/* Set X resources of menu-widget WIDGET on frame F from face `menu'.
/* Set X resources of menu-widget WIDGET on frame F from face `menu'.
This is the LessTif/Motif version. As of LessTif 0.88 it has the
This is the LessTif/Motif version.
following problems:
1. S
etting the XmNfontList resource
leads to an infinite loop
As of 2001-03-13, s
etting the XmNfontList resource
with LessTif
somewhere in LessTif. */
leads to an infinite loop
somewhere in LessTif. */
static void
static void
xm_set_menu_resources_from_menu_face (f, widget)
xm_set_menu_resources_from_menu_face (f, widget)
...
@@ -4430,7 +4429,8 @@ xm_set_menu_resources_from_menu_face (f, widget)
...
@@ -4430,7 +4429,8 @@ xm_set_menu_resources_from_menu_face (f, widget)
|| !UNSPECIFIEDP (LFACE_SLANT (lface))
|| !UNSPECIFIEDP (LFACE_SLANT (lface))
|| !UNSPECIFIEDP (LFACE_HEIGHT (lface))))
|| !UNSPECIFIEDP (LFACE_HEIGHT (lface))))
{
{
#if 0 /* Setting the font leads to an infinite loop somewhere
#ifndef LESSTIF_VERSION
/* Setting the font leads to an infinite loop somewhere
in LessTif during geometry computation. */
in LessTif during geometry computation. */
XmFontListEntry fe;
XmFontListEntry fe;
fe = XmFontListEntryCreate ("menu_font", XmFONT_IS_FONT, face->font);
fe = XmFontListEntryCreate ("menu_font", XmFONT_IS_FONT, face->font);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment