# HG changeset patch # User Richard M. Stallman # Date 763603687 0 # Node ID fa8040a2bba9f9bc46569369a1da7c5f7bd420de # Parent 30bb1685217fe5fc564b6233f518b094ba84b55b (Fx_popup_dialog): Define only if USE_X_TOOLKIT. diff -r 30bb1685217f -r fa8040a2bba9 src/xmenu.c --- a/src/xmenu.c Sun Mar 13 21:52:57 1994 +0000 +++ b/src/xmenu.c Mon Mar 14 00:08:07 1994 +0000 @@ -828,6 +828,8 @@ return selection; } +#ifdef USE_X_TOOLKIT + DEFUN ("x-popup-dialog", Fx_popup_dialog, Sx_popup_dialog, 1, 2, 0, "Pop up a dialog box and return user's selection.\n\ POSITION is a position specification. This is either a mouse button event\n\ @@ -954,6 +956,7 @@ if (error_name) error (error_name); return selection; } +#endif #ifdef USE_X_TOOLKIT @@ -2097,5 +2100,7 @@ popup_id_tick = (1<<16); defsubr (&Sx_popup_menu); +#ifdef USE_X_TOOLKIT defsubr (&Sx_popup_dialog); +#endif }