changeset 36779:a3c8e30deddd

(popup_activate_callback, popup_deactivate_callback): Remove special handling for LessTif/Motif. (toplevel): Don't include Xm/Xm.h.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 13 Mar 2001 16:26:25 +0000
parents d7f99449b2d3
children 85a9fd1b9e41
files src/xmenu.c
diffstat 1 files changed, 0 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/src/xmenu.c	Tue Mar 13 15:03:03 2001 +0000
+++ b/src/xmenu.c	Tue Mar 13 16:26:25 2001 +0000
@@ -80,10 +80,6 @@
 #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 @@
      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 @@
      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