mirror of
https://github.com/brl/mutter.git
synced 2024-11-27 02:20:43 -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
|
gboolean
|
||||||
clutter_actor_has_effects (ClutterActor *self)
|
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)
|
if (self->priv->effects == NULL)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
@ -15718,7 +15718,7 @@ clutter_actor_has_effects (ClutterActor *self)
|
|||||||
gboolean
|
gboolean
|
||||||
clutter_actor_has_constraints (ClutterActor *self)
|
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;
|
return self->priv->constraints != NULL;
|
||||||
}
|
}
|
||||||
@ -15737,7 +15737,7 @@ clutter_actor_has_constraints (ClutterActor *self)
|
|||||||
gboolean
|
gboolean
|
||||||
clutter_actor_has_actions (ClutterActor *self)
|
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;
|
return self->priv->actions != NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user