mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
actor: Not-actors don't have metas
This commit is contained in:
parent
340775d09b
commit
0287dc26ad
@ -15696,7 +15696,7 @@ clutter_actor_has_overlaps (ClutterActor *self)
|
||||
gboolean
|
||||
clutter_actor_has_effects (ClutterActor *self)
|
||||
{
|
||||
g_return_val_if_fail (CLUTTER_IS_ACTOR (self), TRUE);
|
||||
g_return_val_if_fail (CLUTTER_IS_ACTOR (self), FALSE);
|
||||
|
||||
if (self->priv->effects == NULL)
|
||||
return FALSE;
|
||||
@ -15718,7 +15718,7 @@ clutter_actor_has_effects (ClutterActor *self)
|
||||
gboolean
|
||||
clutter_actor_has_constraints (ClutterActor *self)
|
||||
{
|
||||
g_return_val_if_fail (CLUTTER_IS_ACTOR (self), TRUE);
|
||||
g_return_val_if_fail (CLUTTER_IS_ACTOR (self), FALSE);
|
||||
|
||||
return self->priv->constraints != NULL;
|
||||
}
|
||||
@ -15737,7 +15737,7 @@ clutter_actor_has_constraints (ClutterActor *self)
|
||||
gboolean
|
||||
clutter_actor_has_actions (ClutterActor *self)
|
||||
{
|
||||
g_return_val_if_fail (CLUTTER_IS_ACTOR (self), TRUE);
|
||||
g_return_val_if_fail (CLUTTER_IS_ACTOR (self), FALSE);
|
||||
|
||||
return self->priv->actions != NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user