X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lwlib%2Flwlib-Xlw.c;h=150e168966bc24ab220df122020ba1fc9d5f293f;hb=21db8709c0c2dcedbd278c7fe571290d5ce80a71;hp=92437d50d67526547df59b421f37c245259ae7f4;hpb=02f4d2761a98c5cb9d5b423d2361160a5d8c9ee4;p=chise%2Fxemacs-chise.git diff --git a/lwlib/lwlib-Xlw.c b/lwlib/lwlib-Xlw.c index 92437d5..150e168 100644 --- a/lwlib/lwlib-Xlw.c +++ b/lwlib/lwlib-Xlw.c @@ -49,9 +49,15 @@ Boston, MA 02111-1307, USA. */ #include "../src/xmu.h" #include "xlwtabs.h" #endif - +#include +#include +#include +#include +#include + + #ifdef LWLIB_MENUBARS_LUCID /* Menu callbacks */ @@ -142,9 +148,8 @@ xlw_create_popup_menu (widget_instance* instance) XtSetArg (al [0], XtNmenu, instance->info->val); XtSetArg (al [1], XtNhorizontal, False); widget = XtCreateManagedWidget ("popup", xlwMenuWidgetClass, - popup_shell, al, 2); - XtAddCallback (widget, XtNselect, pick_hook, (XtPointer)instance); - + popup_shell, al, 2); + XtAddCallback (widget, XtNselect, pick_hook, (XtPointer)instance); return popup_shell; } #endif /* LWLIB_MENUBARS_LUCID */