2007-07-05 Emmanuele Bassi <ebassi@openedhand.com>

* clutter/clutter-rectangle.c: Fix off-by-border-width bug
	in the border creation of a ClutterRectangle.
This commit is contained in:
Emmanuele Bassi
2007-07-05 10:06:08 +00:00
parent c756541ee3
commit 61db350ca4
2 changed files with 6 additions and 1 deletions

View File

@ -104,7 +104,7 @@ clutter_rectangle_paint (ClutterActor *self)
cogl_rectangle (geom.width - priv->border_width,
priv->border_width,
priv->border_width,
geom.height - (2 * priv->border_width));
geom.height - priv->border_width);
cogl_rectangle (0, geom.height - priv->border_width,
geom.width - priv->border_width,