From 2756b446fd9f2b128a71a6f0e515631b305e994c Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Tue, 13 Mar 2001 16:26:25 +0000 Subject: [PATCH] (popup_activate_callback, popup_deactivate_callback): Remove special handling for LessTif/Motif. (toplevel): Don't include Xm/Xm.h. --- src/xmenu.c | 12 ------------ 1 file changed, 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 /* 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 -- 2.39.5