summaryrefslogtreecommitdiff
path: root/lwlib
diff options
context:
space:
mode:
authorJan Djärv <jan.h.d@swipnet.se>2005-04-01 18:42:33 +0000
committerJan Djärv <jan.h.d@swipnet.se>2005-04-01 18:42:33 +0000
commitf83fb8fa5cd6f14291106b0fff983edd8d7090f5 (patch)
tree8cbd5c5f66144a3406437dab4bda5d6555877f2c /lwlib
parentb175a428d3061a4493222f23ceca206c6aad87dd (diff)
downloademacs-f83fb8fa5cd6f14291106b0fff983edd8d7090f5.tar.gz
* xlwmenuP.h (_XlwMenu_part): Add fontSet resource.
Diffstat (limited to 'lwlib')
-rw-r--r--lwlib/xlwmenuP.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/lwlib/xlwmenuP.h b/lwlib/xlwmenuP.h
index 12cc1790d9d..ac908d34b74 100644
--- a/lwlib/xlwmenuP.h
+++ b/lwlib/xlwmenuP.h
@@ -24,9 +24,6 @@ Boston, MA 02111-1307, USA. */
#include "xlwmenu.h"
#include <X11/CoreP.h>
-/* FIXME: HAVE_X_I18N does not work yet. */
-#undef HAVE_X_I18N
-
/* Elements in the stack arrays. */
typedef struct _window_state
{
@@ -47,11 +44,10 @@ typedef struct _XlwMenu_part
{
/* slots set by the resources */
#ifdef HAVE_X_I18N
- XFontSet font;
+ XFontSet fontSet;
XFontSetExtents *font_extents;
-#else
- XFontStruct* font;
#endif
+ XFontStruct* font;
Pixel foreground;
Pixel disabled_foreground;
Pixel button_foreground;