[actor] Add missing return_if_fail()

The queue_relayout() method was missing the argument check.

Thanks to: Neil Patel <njpatel@gmail.com>
This commit is contained in:
Emmanuele Bassi 2009-08-05 17:46:18 +01:00
parent 1434d72134
commit 335fb07ab0

View File

@ -4376,6 +4376,8 @@ clutter_actor_queue_relayout (ClutterActor *self)
{ {
ClutterActorPrivate *priv; ClutterActorPrivate *priv;
g_return_if_fail (CLUTTER_IS_ACTOR (self));
priv = self->priv; priv = self->priv;
if (priv->needs_width_request && if (priv->needs_width_request &&