summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowitz@users.sourceforge.net>2011-08-26 00:29:29 -0500
committerYaakov Selkowitz <yselkowitz@users.sourceforge.net>2011-08-26 17:31:45 -0500
commit3bb14d8958a74bde30aaa7878163daaa9bdd8d80 (patch)
treeed9005cc201ae5a1b373d8b7db24ea8e08f3657b
parent46aab45f6a089e39075ed36f2e3e569c2f74bd4c (diff)
Viewport: fix too few arguments to Layout function error
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@users.sourceforge.net> Acked-by: Gaetan Nadon <memsize@videotron.ca>
-rw-r--r--src/Viewport.c2
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? */
}
}