diff options
author | Matt Turner <mattst88@gmail.com> | 2011-08-02 00:38:59 -0400 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2011-08-02 00:38:59 -0400 |
commit | 4b7af3dca51bccb86816d7c0e8995ce009f9999e (patch) | |
tree | f8e1037d6e583ffc5f7b571e188fc5fdeadd39bb /src/Porthole.c | |
parent | 004a1d1746c62bb44b440df66f196d27d12d16d6 (diff) |
Strip trailing whitespace.
Signed-off-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/Porthole.c')
-rw-r--r-- | src/Porthole.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Porthole.c b/src/Porthole.c index 7840827..904e0f2 100644 --- a/src/Porthole.c +++ b/src/Porthole.c @@ -23,7 +23,7 @@ used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from the X Consortium. * * Author: Jim Fulton, MIT X Consortium - * + * * This widget is a trivial clipping widget. It is typically used with a * panner or scrollbar to navigate. */ @@ -230,7 +230,7 @@ static void Resize (gw) Position x, y; Dimension width, height; - layout_child (pw, child, (XtWidgetGeometry *)NULL, + layout_child (pw, child, (XtWidgetGeometry *)NULL, &x, &y, &width, &height); XtConfigureWidget (child, x, y, width, height, (Dimension) 0); } @@ -262,7 +262,7 @@ static XtGeometryResult QueryGeometry (gw, intended, preferred) else return XtGeometryAlmost; #undef SIZEONLY - } + } return XtGeometryNo; } @@ -355,7 +355,7 @@ static void ChangeManaged (gw) (void) XtMakeGeometryRequest (gw, &retgeom, (XtWidgetGeometry *)NULL); } } - + XtResizeWidget (child, Max (child->core.width, pw->core.width), Max (child->core.height, pw->core.height), 0); |