wdvi

network DVI viewer
Log | Files | Refs

commit 967f233b1487ee0a626e699f8e3c0fe23ee2adbb
parent 1aa1b65e4595cbee5f1276bb8707ec5286d349aa
Author: Kyle Milz <krwmilz@gmail.com>
Date:   Sat, 28 Aug 2021 15:02:45 +0000

Remove NOQUERY preprocessor condition

Diffstat:
Mxdvi.c | 13+------------
1 file changed, 1 insertion(+), 12 deletions(-)

diff --git a/xdvi.c b/xdvi.c @@ -72,6 +72,7 @@ NOTE: #include <X11/StringDefs.h> #include <X11/Shell.h> /* needed for def. of XtNiconX */ #include <X11/IntrinsicI.h> +#include <X11/IntrinsicP.h> #include <X11/Xaw/Viewport.h> #include <X11/Xaw/AsciiText.h> #include <X11/Xaw/Command.h> @@ -477,11 +478,6 @@ static const char *usagestr[] = { }; - -#ifdef NOQUERY -#define drawWidgetClass widgetClass -#else - /* ARGSUSED */ static XtGeometryResult QueryGeometry(w, constraints, reply) @@ -494,11 +490,6 @@ QueryGeometry(w, constraints, reply) return XtGeometryAlmost; } -#include <X11/IntrinsicP.h> -#include <X11/CoreP.h> - - - /* if the following gives you trouble, just compile with -DNOQUERY */ static WidgetClassRec drawingWidgetClass = { { /* superclass */ &widgetClassRec, @@ -538,8 +529,6 @@ static WidgetClassRec drawingWidgetClass = { #define drawWidgetClass &drawingWidgetClass -#endif /* NOQUERY */ - static Arg vport_args[] = { {XtNborderWidth, (XtArgVal) 0}, {XtNtop, (XtArgVal) XtChainTop},