mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
[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;
|
||||
|
||||
g_return_if_fail (CLUTTER_IS_ACTOR (self));
|
||||
|
||||
priv = self->priv;
|
||||
|
||||
if (priv->needs_width_request &&
|
||||
|
Loading…
Reference in New Issue
Block a user