[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:
parent
1434d72134
commit
335fb07ab0
@ -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 &&
|
||||||
|
Loading…
Reference in New Issue
Block a user