mirror of
https://github.com/brl/mutter.git
synced 2024-11-10 07:56:14 -05:00
actor: Adds private _clutter_actor_get_n_children
This adds a private getter to query the number of children an actor has. One use planned for this API is to avoid calling get_paint_volume on such actors. (It's not clear what the best semantics for get_paint_volume are for actors with children, so we are considering leaving the semantics undefined for the initial clutter 1.4 release)
This commit is contained in:
parent
239d83f952
commit
9a1abbc713
@ -12116,3 +12116,10 @@ clutter_actor_get_paint_box (ClutterActor *self,
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
gint
|
||||
_clutter_actor_get_n_children (ClutterActor *self)
|
||||
{
|
||||
return self->priv->n_children;
|
||||
}
|
||||
|
||||
|
||||
|
@ -452,6 +452,7 @@ gboolean _clutter_boolean_handled_accumulator (GSignalInvocationHint *ihint,
|
||||
const GValue *handler_return,
|
||||
gpointer dummy);
|
||||
|
||||
gint _clutter_actor_get_n_children (ClutterActor *self);
|
||||
ClutterActor *_clutter_actor_get_stage_internal (ClutterActor *actor);
|
||||
|
||||
void _clutter_actor_apply_modelview_transform (ClutterActor *self,
|
||||
|
Loading…
Reference in New Issue
Block a user