summaryrefslogtreecommitdiff
path: root/src/Viewport.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Viewport.c')
-rw-r--r--src/Viewport.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Viewport.c b/src/Viewport.c
index 26269b4..a103086 100644
--- a/src/Viewport.c
+++ b/src/Viewport.c
@@ -82,7 +82,7 @@ static void Realize(Widget, XtValueMask *, XSetWindowAttributes *);
static void Resize(Widget);
static void ChangeManaged(Widget);
static Boolean SetValues(Widget, Widget, Widget, ArgList, Cardinal *);
-static Boolean Layout(FormWidget, Dimension, Dimension);
+static Boolean Layout(FormWidget, Dimension, Dimension, Boolean);
static XtGeometryResult GeometryManager(Widget, XtWidgetGeometry *, XtWidgetGeometry *);
static XtGeometryResult PreferredGeometry(Widget, XtWidgetGeometry *, XtWidgetGeometry *);
@@ -846,7 +846,7 @@ Resize(Widget widget)
/* ARGSUSED */
static Boolean
-Layout(FormWidget w, Dimension width, Dimension height)
+Layout(FormWidget w, Dimension width, Dimension height, Boolean junk)
{
ComputeLayout( (Widget)w, /*query=*/True, /*destroy=*/True );
w->form.preferred_width = w->core.width;