summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2001-03-13 16:26:25 +0000
committerGerd Moellmann <gerd@gnu.org>2001-03-13 16:26:25 +0000
commit2756b446fd9f2b128a71a6f0e515631b305e994c (patch)
tree6dc8d331ecc33efe91cc21f1ff3f4e38f1a4a83e
parentafcdc0a1393988cac487df14bf14696d9a64e669 (diff)
downloademacs-2756b446fd9f2b128a71a6f0e515631b305e994c.tar.gz
(popup_activate_callback, popup_deactivate_callback):
Remove special handling for LessTif/Motif. (toplevel): Don't include Xm/Xm.h.
-rw-r--r--src/xmenu.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/xmenu.c b/src/xmenu.c
index 004458adeda..9d048cb8406 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -80,10 +80,6 @@ Boston, MA 02111-1307, USA. */
#endif /* not USE_X_TOOLKIT */
#endif /* HAVE_X_WINDOWS */
-#ifdef USE_MOTIF
-#include <Xm/Xm.h> /* for LESSTIF_VERSION */
-#endif
-
#define min(x,y) (((x) < (y)) ? (x) : (y))
#define max(x,y) (((x) > (y)) ? (x) : (y))
@@ -1154,11 +1150,7 @@ popup_activate_callback (widget, id, client_data)
LWLIB_ID id;
XtPointer client_data;
{
-#ifdef USE_MOTIF
- ++popup_activated_flag;
-#else
popup_activated_flag = 1;
-#endif
}
/* This callback is invoked when a dialog or menu is finished being
@@ -1170,11 +1162,7 @@ popup_deactivate_callback (widget, id, client_data)
LWLIB_ID id;
XtPointer client_data;
{
-#ifdef USE_MOTIF
- --popup_activated_flag;
-#else
popup_activated_flag = 0;
-#endif
}
/* Lwlib callback called when menu items are highlighted/unhighlighted