[PATCH libXaw3d 02/21] Viewport: fix too few arguments to Layout function error

Yaakov (Cygwin/X) yselkowitz at users.sourceforge.net
Thu Aug 25 22:38:04 PDT 2011


From: Yaakov Selkowitz <yselkowitz at users.sourceforge.net>

Viewport.c: In function 'ChangeManaged':
Viewport.c:415:3: error: too few arguments to function
'((struct _ViewportClassRec *)w->core.widget_class)->form_class.layout'

Signed-off-by: Yaakov Selkowitz <yselkowitz at users.sourceforge.net>
---
 src/Viewport.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/Viewport.c b/src/Viewport.c
index 0500dc8..6a46e36 100644
--- a/src/Viewport.c
+++ b/src/Viewport.c
@@ -412,7 +412,7 @@ static void ChangeManaged(widget)
 	    }
 	    GetGeometry( widget, child->core.width, child->core.height );
 	    (*((ViewportWidgetClass)w->core.widget_class)->form_class.layout)
-		( (FormWidget)w, w->core.width, w->core.height );
+		( (FormWidget)w, w->core.width, w->core.height, FALSE );
 	    /* %%% do we need to hide this child from Form?  */
 	}
     }
-- 
1.7.5.1



More information about the xorg-devel mailing list