summaryrefslogtreecommitdiff
path: root/src/Viewport.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Viewport.c')
-rw-r--r--src/Viewport.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/Viewport.c b/src/Viewport.c
index 0f5c553..0500dc8 100644
--- a/src/Viewport.c
+++ b/src/Viewport.c
@@ -1132,18 +1132,12 @@ static XtGeometryResult PreferredGeometry(w, constraints, reply)
void
-#if NeedFunctionPrototypes
XawViewportSetLocation (Widget gw,
#if NeedWidePrototypes
double xoff, double yoff)
#else
float xoff, float yoff)
#endif
-#else
-XawViewportSetLocation (gw, xoff, yoff)
- Widget gw;
- float xoff,yoff;
-#endif
{
ViewportWidget w = (ViewportWidget) gw;
Widget child = w->viewport.child;
@@ -1167,18 +1161,12 @@ XawViewportSetLocation (gw, xoff, yoff)
}
void
-#if NeedFunctionPrototypes
XawViewportSetCoordinates (Widget gw,
#if NeedWidePrototypes
int x, int y)
#else
Position x, Position y)
#endif
-#else
-XawViewportSetCoordinates (gw, x, y)
- Widget gw;
- Position x, y;
-#endif
{
ViewportWidget w = (ViewportWidget) gw;
Widget child = w->viewport.child;