diff options
author | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2011-08-28 04:03:07 -0500 |
---|---|---|
committer | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2011-09-01 20:06:38 -0500 |
commit | 77aa38852ab023e5492059743ae93952af27aad5 (patch) | |
tree | d2274e6a4f01ee06510ab7d67086fcedd7562a7c /src/Viewport.c | |
parent | 96f8565f2bbac928a76b875415eba993ad806925 (diff) |
Fix incompatible vfunc pointer warnings
AsciiSink.c:132:41: warning: initialization from incompatible pointer type
AsciiSink.c:135:41: warning: initialization from incompatible pointer type
AsciiSink.c:137:41: warning: initialization from incompatible pointer type
Vendor.c:199:24: warning: initialization from incompatible pointer type
Vendor.c:269:24: warning: initialization from incompatible pointer type
Vendor.c:284:24: warning: initialization from incompatible pointer type
Viewport.c:143:3: warning: initialization from incompatible pointer type
MultiSink.c:160:41: warning: initialization from incompatible pointer type
MultiSink.c:162:41: warning: initialization from incompatible pointer type
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Acked-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/Viewport.c')
-rw-r--r-- | src/Viewport.c | 4 |
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; |